Rails

1,822
-1

Published on

Balabit Meetup - I was talking about Rails framework

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,822
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Rails

  1. 1. Ruby On Rails MeetUP @ Balabit April 22, 2010 nucc@balabit.com 1
  2. 2. 2
  3. 3. Agile Web Development Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan 3
  4. 4. Installing Rails Ubuntu Easy way Suggested way apt-get install rails apt-get install rubygems gem install rails apt-get install rake OSX Windows Built in, you just need Instant rails to use! 4
  5. 5. First application $ rails meetup.balabit 5
  6. 6. First application $ rails meetup.balabit meetup.balabit/ app config db doc lib log public script test tmp vendor 5
  7. 7. First application app config db doc lib log public script test tmp vendor 5
  8. 8. Heart and soul Model Controller View app config db doc lib log public script test tmp vendor 6
  9. 9. Heart and soul Model Controller View app config db doc lib log public script test tmp vendor 6
  10. 10. Heart and soul Model Controller View app config db doc lib Safety net log public script Functional and Functional Tests test Unit Tests Integration Tests and Testers tmp vendor 6
  11. 11. Configuration Database Mysql, Postgresql, Sqlite, Oracle, Mssql, Sybase app Router config Find the corresponding controller db doc http://localhost/:controller/:action/:id lib Environment specific settings log public Production script test Development tmp Testing vendor 7
  12. 12. Database & migration Sqlite3 database files app config Migration files (upgrade & downgrade) db doc rake db:migrate (VERSION=) lib log public script test tmp vendor 8
  13. 13. Documentation HTML and Rdoc based documentation app rake doc:app config db doc lib log public script test tmp vendor 9
  14. 14. Lib & Vendor Non-third party drivers (lib) Third-party drivers (vendor) app config script/plugin install [remote repository] db doc lib log public script test tmp vendor 10
  15. 15. Log files server.log app development.log config db production.log doc lib test.log log custom log files public script test tmp vendor 11
  16. 16. Public files Images app CSS files config db Javascript files doc lib Favicon log 404, 500 error pages public script Other public files test tmp vendor 12
  17. 17. Script files console (access in terminal to the application) app dbconsole (direct access to the database) config generate (controller, model, plugin, migration file) db doc destroy lib log plugin (installing 3rd party plugins) public runner (cronjob like tool) script test server (start server application) tmp performance (checking performance tests) vendor 13
  18. 18. Temporary files Cache files app Pid files config db File based sessions doc Sockets lib log public script test tmp vendor 14
  19. 19. DEMO :) video is comming soon... 15
  20. 20. More demo stuffs http://railscasts.com/ http://peepcode.com/ 16
  21. 21. Thank you! 17

×