Consistent Rapid Web Dev And Deployment To Cloud


Published on

Cloud presents an excellent for platform for products that can reach greater users with little investment in infrastructure or manpower. How do we develop such applications, what tools do we use to develop and deploy. He is such a case study.

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Scaffolding & templating: bootstrapping a Spring MVC app by hand can be painful. You will need directory of JAR files, bunch of bean definition files, a set of web.xml customizations, annotated POJOs, a few hibernate config files, Java Integration: Integration is seamless, web form processing classes maybe in Groovy and high performance payroll calculations in Java.Incredible wetware: Grails ecosystem is fantastic with helpful user community.,, third party plugins. Ajax widgets, reporting, instant messaging, integration with Twitter etc.,Productivity Ethos: grails isn’t just about building web apps, but its all about executing your vision quickly. Work in two weeks can now be done in one week.
  • Consistent Rapid Web Dev And Deployment To Cloud

    1. 1. Consistent Rapid Web App Development & Deployment<br />Phanindra V Mankale<br />BanyanLeaf Technologies<br />
    2. 2. Agenda<br />Today’s Web product needs. <br /> requirements<br />Development Strategies<br />Deployment Strategies<br />Tool sets for consistent D& D<br />Demo<br />Summary<br />Q&A<br />Phanindra Mankale August 2011<br />2<br />
    3. 3. Today’s Needs(<br />Phanindra Mankale August 2011<br />3<br />
    4. 4. Development Strategies<br />Spend time implementing features not configuration<br />Establish developer productivity<br />Support powerful practical tools<br />Support Agile development<br />Simpler database integration<br />Strong Framework foundation<br />Phanindra Mankale August 2011<br />4<br />
    5. 5. Choices Options Decisions<br /><ul><li>Architecture options
    6. 6. Web based 3 tiered
    7. 7. Technology choices
    8. 8. Open Source or NOT
    9. 9. Making the choice and living with it!
    10. 10. Cost
    11. 11. Skill Set
    12. 12. Value ( short & long term ) </li></ul>Phanindra Mankale August 2011<br />5<br />
    13. 13. Enter Grails<br />Phanindra Mankale August 2011<br />6<br />
    14. 14. Grails: Convention Over Configuration<br />Very few config files in Grails<br />Grails make most of its decisions based on sensible defaults drawn from source code. <br />Add a controller called shop and action called order, Grails will expose it as a URL <br />Place your view files in a directory called /views/shop/order grails will look after linking everything. Not even a single line of configuration<br />Create a Domain class called Customer, Grails will automatically create a customer table in your database<br />Add some fields to your Customer object, Grails will automatically create the necessary fields in your Cutsomer table on the fly with all the constraints. NO SQL required.<br />The defaults are always there for you to tweak if you still like to do that. <br />Phanindra Mankale August 2011<br />7<br />
    15. 15. Grails: Agile Philosophy<br />Makes use of Dynamic language “Groovy”<br />Enables easy iterations<br />You can add controllers, views etc., when the app is running- without restarting it.<br />The Framework makes operations easier and more maintainable at the same time. <br />Code & test ( Unit, Integration tests can be run right away ) <br />Phanindra Mankale August 2011<br />8<br />
    16. 16. Grails: Rock Solid foundations<br />Core is built on proven technologies<br />Spring<br />Hibernate<br />Scheduling plugin is built on Quartz<br />Search plugin is built on Lucene<br />Layout engine is built on SiteMesh<br />Great Support system from Vmware.<br />Phanindra Mankale August 2011<br />9<br />
    17. 17. Grails: Scaffolding & Templating<br />Building Grails app is easy as 1,2,3<br />Create-app<br />Run-app<br />Template driven approach<br />Create-controller mycontroller<br />Same for views, services, domain classes etc.,<br />Bootstraps for better productivity<br />No Boiler plate code.<br />Scaffolding <br />Set of Views and controllers on the fly for Domain classes, for basic CRUD( Create Read Update Delete)<br />Phanindra Mankale August 2011<br />10<br />
    18. 18. Grails: Java integration<br />Web form processing can be in Groovy<br />The performance intensive code can be in Java<br />All Java libraries are available for use in Grails<br />Incredible wetware<br /><br /><br /><br />Grails group on LinkedIn<br /><br />Plugins<br />Phanindra Mankale August 2011<br />11<br />
    19. 19. Enter AWS<br />Why AWS<br />Scalable<br />Reliable & Redundant<br />Secure<br />Cost Effective ( Pay as you go) <br />Flexible ( Any application, any platform, any language)<br />Developer friendly<br />Incredible array of tools to go Live!<br />Phanindra Mankale August 2011<br />12<br />
    20. 20. AWS<br />Phanindra Mankale August 2011<br />13<br />
    21. 21. AWS: EC2<br />A web service that provides resizable compute capacity in the cloud.<br />You get to decide the EC2 environment<br />OS<br />Database<br />Services<br />Application platform stack<br />You get a Management Console and API to monitor/manage compute resources<br />Phanindra Mankale August 2011<br />14<br />
    22. 22. AWS: S3<br />Simple Web service that is used to store and retrieve large amounts of data.<br />Data from anywhere, anytime, large amounts<br />Inexpensive<br />Amazon runs on S3<br />Phanindra Mankale August 2011<br />15<br />
    23. 23. AWS: RDS<br />Web service that provides access to MySQL/ Oracle databases on the cloud. <br />Manages backup, scaling, updates etc.,<br />Provides all database capabilities. <br />Phanindra Mankale August 2011<br />16<br />
    24. 24. Demo:<br />Domain Driven design<br />Use tests ( Unit & integration ) <br />Demonstration of a simple grail app<br />Deployment to AWS<br />Phanindra Mankale August 2011<br />17<br />
    25. 25. Summary<br />Web Applications today are complex and need Rapid responses from Engineering teams<br />Define strategies and match them to Requirements<br />We looked at some of the tools and services that match these demanding requirement<br />Grails, Groovy and AWS.<br />How this becomes a potent combination.<br />Eliminates unnecessary config time and complexity.<br />Phanindra Mankale August 2011<br />18<br />
    26. 26. My 2 cents<br />Get your hands dirty<br />Keep your hands dirty<br />Enjoy this!<br />Phanindra Mankale August 2011<br />19<br />