Sunday, December 27, 2015

working with multiple git accounts



https://code.tutsplus.com/tutorials/quick-tip-how-to-work-with-github-and-multiple-accounts--net-22574


git remote add github git@github-sree:sriram-alagappa/travistryout

git push github master

Evaluation of continuous Integration



last four days focussed on a end to end continuous integrated build and deploy solution


the flow will be


developer -> check in to github -> triggers build -> post build trigger test cases -> if test case successful deploys to ec2.


Advantage of hosted solution


  1. consistent build using docker
  2. Easy to add multiple builds like ios , android ,php, nodejs, .NET
  3. Easy to deploy to multiple providers like codedeploy, s3, opsworks, npm .. etc (https://docs.travis-ci.com/user/deployment/)
  4. Speedy builds 
  5. Speedy integration and unit test
  6. Build on multiple platform
https://www.distelli.com/ : good solution for build and deploy, very young startup
https://www.distelli.com/docs/tutorials/nodejs-build-test-and-deploy


- after trying all the software for our needs distelli is the clear winer

- it has a nice yaml file to describe build & deployment dependency
- I can easily deploy to my ec2 instance 

end to end project : https://github.com/sriram-alagappa/travistryout


https://travis-ci.org/; good for open source project and build, not good solution for deployment, big dady of all

https://codeship.com/ : average solution for deploy

https://circleci.com/ : average solution for deploy

Aws codedeploy : too hard will take time to mature

Aws ECS : too hard will take time to mature

Heroku : don't want to go with hosted solution now















Tuesday, December 15, 2015

Evaluating Mean Stack



Evaluating Mean Stack



Leaning towards meanJS


NodeJS



  1. Sails  MVC Framework
  2. https://franciskim.co/2015/11/28/promise-based-scraper-in-node-js/

Generators





Various components


  • For Search we might use elasticsearch
  • For stats we might use the event service hosted in Nodejs
  • For recommendation we might use some elastic search service
  • http://neo4j.com/ for relation ship between models



Sunday, December 6, 2015

Google Analytics



How To Check Concurrent Visitors With Google Analytics
Session Duration, Avg


http://www.cloudways.com/blog/checking-concurrent-visitors-with-google-analytics/



https://support.google.com/analytics/answer/1006253?hl=en

ASP.NET 5 VS Nodejs



Trying to decide between ASP.net VS Nodejs for next project




http://dotnetliberty.com/index.php/2015/10/25/asp-net-5-running-in-docker-on-windows/
http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx
http://docs.docker.com/engine/installation/windows/
http://dotnetliberty.com/index.php/2015/11/26/asp-net-5-on-aws-ec2-container-service-in-10-steps/



NodeJS

https://www.visualstudio.com/features/node-js-vs
https://channel9.msdn.com/events/Visual-Studio/Connect-event-2015/801
https://github.com/Microsoft/nodejstools/wiki/Install-Node.js-and-get-started-with-NTVS
http://blogs.msdn.com/b/visualstudio/archive/2015/11/18/node-js-tools-1-1-for-visual-studio-released.aspx





NodeJS & Express 4.0

http://app.pluralsight.com/training/player?course=nodejs-express-web-applications&author=jonathan-mills&name=nodejs-express-web-applications-m1&clip=0&mode=live


https://strongloop.com/strongblog/compare-express-restify-hapi-loopback/




Sunday, November 22, 2015

Moving asp.net applications to AWS






S3 Performance considerations

  1. http://stackoverflow.com/questions/394198/max-files-per-directory-in-s3
  2. http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html



AWS Setup



  1. create  windows 2012 R2 with Sql Server t2 medium
  2. In server manager add IIS and .NET 4.5
  3. install web-platform install
  4. install web-deploy 2.6
  5. add design website
  6. webpublish


Completed course on AWS RDS


Tuesday, November 3, 2015

New Shopping Cart Live


this is my first major deployment on AWS, every thing went so smooth could not have gone better

Magento
AWS VPC, Aurora,

Cost Comparison





Product comparison:





Magento Community vs Enterprise





Experience on IBM Commerce Implementation:

http://www.straightline.in/  ( Architect for this portal)



Non Functional Requirements






Performance

Scalability


Backup

Under System | Tools | Backups,
Certification


Compliance


Maintainability


Security

Under System | Permissions,





Clustering:






Planning Store


Product Catalog


Version control strategy


Deployment





Magento Payment and Shipping Methods :





Magento Training Video - Group Pricing


Magento Basics, Lesson 2 Event driven Architecture





Magento + Rest








Magento Architecture



















Load Testing



It is using PHPUnit to run about 1000 Selenium testcases to ensure if the core functionality of Magento is still working properly along with your customizations.




MySql





Analytics



Configure google analytics from admin panel under System > Configuration > Sales > Google API > Google Analytics
Set Enable = True
Account Number = { Web Property ID, that is associated with your Magento in GA profile, like UA-43096110-1 for dev}




Plugins:




Development IDE







Clustering


Cron Jobs


Configuring Cron Jobs on Windows:


Persistent Cart:


Magento Extensions to send abandoned cart alerts:



Magento User Tutorial


Intro Magento


Good one

Magento - Customize theme


Magento  - Order Confirmation Email Settings

Videos and links for creating a new template

http://www.youtube.com/watch?v=2IKtlzqq5vY
Settings for SMTP:

Magento  - Promotion Codes


Videos for creating promotion rules:

Links to read for Shopping Cart Price Rules and BOGO:

Magento Development Tutorial




Affiliate Programs


source code checke in tfs in ShareASale-Affiliate

Mage Development Getting Started



  1. Install Vagrant and Virtual box
    1. brew cask install virtualbox
    2. brew cask install vagrant
    3. brew cask install vagrant-manager
    4. git clone https://github.com/sree6644/simple-magento-vagrant

  1. Vagrant up
    1. after 10 min Access web site : http://127.0.0.1:8080/
  2. Create hello.php page (direct access to db)
    1. move hello.php to httpdocs folder

Deployment & Performance


On a given server (2.5GHz QC/8GB RAM), Apache is good for around 12k requests per second

Screen Shot 2015-07-26 at 5.37.36 AM.png

Screen Shot 2015-07-26 at 5.27.26 AM.png




Admin functionality


Website, Store Name, Store view




Catalog:


Attribute & Attribute Set

products

IMG 2015-11-17 at 3.41.45 PM.jpg