SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 87 | Next

Ola Bini

"Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java"


Then, when that part is finished you go ahead by asking which delivery address they want the order sent to,
and so on.
In reality, Seaside works the same way as all other web applications, under the covers. However, this
part of the system is hidden from the person using the framework. Most of the complexity of maintaining
state is managed by saving continuations at strategic points of the execution that can be resumed at any
time, or discarded.
Seaside doesn??™t contain explicit support for a database or model layer. The developer has to add this.
In the same manner, Seaside doesn??™t contain a separate templating system for easily creating HTML views.
Instead, you write Smalltalk code that generates HTML. In some situations this flexibility can be good, but in
other cases??”especially when creating larger applications??”this makes it hard to let a designer generate the
HTML design for you and then integrate it into the application.
So, Seaside is good at several things that almost no other framework handles well, but other detriments
make Rails a more widely useful full-stack solution for web applications.
PHP
There are certainly many frameworks for PHP that I could compare Rails against, but Ruby on Rails sits more
or less in the exact same spot that PHP has traditionally occupied. The big difference is that Rails scales better
and provides more benefits. With PHP, you first need to choose a framework that gives you some kind of
CHAPTER 3 ?–  INTRODUCTION TO RAILS 32
Object-Relational mapping.


Pages:
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99