[
e s c a l a
]
Course - Ruby, ActiveRecord and Rails for Enterprise Applications
Course overview:
This is a course especially designed for developers who will be involved in deploying
e-business applications using Ruby, ActiveRecord, Rails and Ajax.
The focus is on providing a solid background in the Ruby programming language, and on clarifying
on how the language is used with the ActiveRecord, Rails and Ajax frameworks.
ActiveRecord allows easy, high-level, powerful and flexible working with a wide range of databases.
Rails allows easy, straightforward and highly productive development of Web applications. Ajax provides capabilities for
more effective and satisfying user interaction with Web Applications.
Deployment of Web applications to Application / Web servers (e.g. WebSphere, Tomcat)
is covered, using databases such as IBM DB2 and MySQL.
The course covers areas such as good object-oriented principles (including MVC),
model building and introduces the idioms relevant to Ruby and Rails development.
An understanding of basic object-oriented concepts would also be advantageous, but is not necessary.
This is a highly practical course having numerous workshops, and can be run using a variety of IDEs
including Eclipse.
Who should attend:
People with programming experience who wish to learn Ruby
development, using ActiveRecord, Rails and Ajax.
Course objectives:
- to write, and run Ruby programs
- to work with core classes in the Ruby library
- to design and implement Ruby Classes and Modules
- to understand object-oriented concepts and mechanisms
- to build a working model using good practices
- to understand the detailed workings of ActiveRecord, Rails and Ajax
- to understand testing and deployment technologies
- to experience the building, testing and deployment of standalone, and Web applications
Prerequisites:
Strong programming background.
Duration:
5 days
Course contents:
- Ruby background, installation and documentation
- Ruby syntax, types and control structures
- Running programs
- Math, String, Date & Time, Vector, Collections, File, I/O,
- Ruby object programming:
- fields & methods, constructors
- access control: public, protected, private
- instance and class variables, class instance variables
- Ruby inheritance, polymorphism, modules and mixins
- garbage collection
- Exceptions and flow control
- Metaprogramming, reflection, Ruby idioms
- Debug, unit test, logging and benchmarking
- Gem packaging and deployment
- Database access using Active Record
- building databases for ActiveRecord
- table relationships: 1-1, 1-n, n-n, inheritance
- polymorphism
- migrations
- JRuby and use of Java libraries
- Building and Deploying Web applications with Rails
- philosophy: convention, reflection, discovery-oriented development
- generation and enhancement of controllers, models, views, helpers
- setting up database / ActiveRecord access
- dynamic generation of Web pages and templates
- WAR production
- Deployment to Application / Web servers (e.g. WebSphere, Tomcat, ...)
- Using Ajax with Rails
- Nature of Ajax interaction
- Use of JavaScript and libraries: Prototype, script.aculo.us
- Data and code transmission formats: text, XML, JSON, JS
- Rails Ajax helpers and RJS
On successful completion of this course:
Attendees will be able to develop, test and deploy object-oriented Ruby programs, access information
on a relational database using ActiveRecord and setup Web applications with Rails.
For more information, please email your queries to us, please see our contacts
page.
11th March 2009