Use Ruby on Rails to quickly develop web applications.
Ruby on Rails is impacting the entire Web development field. Let's first understand the underlying technologies:
Ruby is a free, simple, intuitive, scalable, portable, and interpreted scripting
Ruby on Rails is shaking the whole Web development landscape. Let us first understand the underlying technology:
Ruby is a free, simple, intuitive, extensible, portable, and interpreted scripting language for fast and simple object-oriented
Ruby on Rails development is essentially different from Java development. In
Crossing boundariesIn the last phase of the series, Bruce Tate will outline the main differences found when developing a complex and scalable Web site from scratch using
Jave Web framework sweet spots "Dessert" of Java Web Framework"
This is a very interesting document, so the summary is similar to Reading Notes, as shown in the following figure:
I don't know how to translate sweet spots. Is it translated into
Do you think your rails application is too slow to respond? This is a speech on the RailsConf2006 of Rails ' application performance optimization, which I hope will help you.
Before you optimize your application, we need to make the following points
Summarize the class extensions that you encounter in your work:
1, class Inheritance:
When more than one class is common to many methods, the common method part can be extracted, and the required class is related to inheritance.
Example:
Previous Article: The Most Beautiful MVC, the orm solution was originally elsewhere-Ruby on Rails
The emergence of rails has a positive impact on the current spring + hibernate architecture. It is good to have an impact. Otherwise, ejb2 and struts
Ruby class inheritance, abstract classes, class expansion, proxy class instances, ruby instances
Summarize the class extensions encountered in the work:
1. class inheritance:
When multiple classes share many methods, you can extract the public
Previously, there were several ways to connect multiple databases in a rails application, as follows:class Cookies activerecord::base establish_connection:typoThis way, when using operations such as Cookie.find, you will be connected to
This is the second part, the main is the MySQL database distributed design. When I set up the environment, I basically did not separate the database. For the time being, prepare for it.
Database design of master-slave structure
The www.eol.org
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.