Your SlideShare is downloading. ×
Introduzione a Ruby On Rails
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduzione a Ruby On Rails


Published on

A small presentation i gave on 2006 introducing Ruby on Rails at the Oracle User's Group conference in Italy

A small presentation i gave on 2006 introducing Ruby on Rails at the Oracle User's Group conference in Italy

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide

  • Transcript

    • 1. Lo sviluppo agile di applicazioni web (su database Oracle) Conferenza Annuale OUGIT Parma – 1 dicembre 2006 Luca Mearelli
    • 2. Ruby on Rails Perchè? Come? Cosa?
    • 3. Perchè?
    • 4. Motivazione  Produttività
    • 5. Troppa quot;Enterprisequot;
    • 6. Liberare le Buone Idee
    • 7. Come?
    • 8. Predire il futuro è per gli oracoli Distillato da un servizio reale È l'unico modo di creare un framework Occorre provare le API sul campo
    • 9. Principi Less Is More Don't Repeat Yourself Convention Over Configuration Constraints Are Liberating Flexibility Is Overrated
    • 10. Ruby !?! Tutto è un oggetto Espressività dei blocchi Introspezione Estensione a runtime Librerie ricche
    • 11. Cosa?
    • 12. Un ambiente per la creazione di applicazioni web Una soluzione completa per un problema Focalizzata sugli obiettivi non sui mezzi Non una singola grossa innovazione Infrastruttura NON Business Logic
    • 13. Integrato Dalle pagine al database un linguaggio solo per tutti i livelli si prende cura dei piccoli particolari
    • 14. Model View Controller (completo!)
    • 15. Un insieme di Domain Specific Language(s)
    • 16. ActiveRecord ORM che implementa il pattern ActiveRecord ActionPack Controllo del flusso e gestione delle viste (il VC nel MVC). ActionMailer Gestione delle email (invio, ricezione, test) ActionWebService Supporto per i Web service. ActiveSupport Utility di supporto del framework. Plugins
    • 17. In Azione!
    • 18. ActiveRecord
    • 19. utente = = “Scott Tiger” User.create( { :login=>’luca’, :name=>’Luca Mearelli’ }) lm = User.find_by_login(‘luca’) #‘Luca Mearelli’
    • 20. Database Migrations
    • 21. ActionController
    • 22. wget http://myhost/guestbook/index POST su http://myhost/guestbook/sign con parametri
    • 24. Capistrano
    • 25. Il risultato quot;Most web frameworks force the developer to focus on the needs of the framework. You spend your time configuring X, or interfacing between Y and Z. Rails isn't like that. With Rails you focus on delivering value to your users. Everything else just gets taken care of. Rails finally brings agility to the web.quot; Dave Thomas quot;Rails has become a standard to which even well-established tools are comparing themselves to.quot; Martin Fowler, Autore di Refactoring, PoEAA, XP Explained quot;Ruby on Rails is a breakthrough in lowering the barriers of entry to programming. Powerful web applications that formerly might have taken weeks or months to develop can be produced in a matter of days.quot; Tim O'Reilly, Fondatore di O'Reilly Media quot;Rails is the most well thought-out web development framework I've ever used. And that's in a decade of doing web applications for a living. I've built my own frameworks, helped develop the Servlet API, and have created more than a few web servers from scratch. Nobody has done it like this before.“
    • 26. … bello ma?
    • 27. Issues (reali) Bind variables in oracle Integration o legacy databases Deploy su windows / IIS Accettazione in ambienti enterprise
    • 28. Non-Issues Scalabilità (shared nothing) I18N (Globalize plugin, rails 1.2) Integrazione con J2EE (Jruby!) Curva di apprendimento (e Java ?!)
    • 29. Strategie di adozione Progetti interni Prototipazione Nuove applicazioni
    • 30. Domande?
    • 31. Sul Web Libri Agile Web Development with Rails Dave Thomas, David Heinmeir Hansson (The Pragmatic Programmers) Rails Recipes Chad Fowler (The Pragmatic Programmers) Ruby for Rails David A. Black (Manning) RJS Templates for Rails Cody Fauser (O'Reilly)
    • 32. THE END