Posted by Stuart Montgomery at 3:02 pm
Panel: Rails and Ajax - Building Enterprise Web Applications
3/12
Mon
- Panel
- Steven Smith, CEO of FiveRuns
- Marcel Molina, Rails Core developer
- What are Enterprise Class Web Apps?
- Origin
- Rails now has AJAX support right in the framework
- This means having a system of abstraction of the page in your framework
- Old solution assumed updating only one element on the page
- Used template methods like form_remote_for, etc.
- New system is RJS, Ruby JavaScript
- Feedback
- Need to have a way to indicate to users that your applicaiton is working in the background
- Degrading
- To degrade between JS and non-JS browsers gracefully, Rails can use respond_to method in a controller to detect whether the request is JS or standard HTTP and not have to duplicate templates and controller logic
- This supports both a rich client interface AND old school HTML linking
- Scalability
- It IS possible to overload a browser with JS
- You always want to balance server and client-side scripting where it makes sense
- Leverage server-side processing when you can afford it
- Testing
- Selenium brings systematic testing across multiple browsers
- Origin
- More Information
- Slides will be available at www.fiveruns.net/events
- RJS screencase at www.peepcode.com
- Automated Testing in your browser www.openqa.org/selenium
- Ajax on Rails book oreilly.com


Comments (0)
Leave a Reply
You must be logged in to post a comment.