Languages

Fsharp
ActionScript
xBase
Clean
GPSS
PureBasic
Sieve
Erlang
JOVIAL
Mercury
Linda
DataFlex
PostScript
FoxPro2
VFP
Cobol
Prolog
Jython
Awk
VisualBasic
JavaScript
Matlab
ASP
Haskell
Csharp
D
Smalltalk
Nemerle
Pixilang
Java
SQL
Python
ObjectPascal
Ruby
Perl
Pascal
Assembler
PHP
C
Functions  Add function  Users  Registration  Enter   About  ASCII Table  Our helpers

Ruby-on-Rails


1 Ruby-on-Rails: Understanding the Basics of Active Record

2 Active Record: What is it?

3 Active Record: Steps to using it

4 Rails in the Real World

Ruby-on-Rails: Understanding the Basics of Active Record



(Page 1 of 4 )

Ruby on Rails handles data manipulation with the Active Record, which provides an Object Relational Mapping framework. If these sound a little like foreign words to you, keep reading; you_ll find that the way RoR handles ORM is a little different, and perhaps easier, than you might see it handled with other languages.

Data and its manipulation is central to any application, whether it is a desktop or web-based application. Data can be represented and manipulated using different techniques.

One of them is the Object Relational Mapping technique or simply ORM. ORM maps the relational tables to the object-oriented classes. ORM frameworks provide the mapping and corresponding object/data manipulation services. In most of the server-side technologies, ORM frameworks constitute a totally different component stack. Hence it becomes the developer’s job to do the groundwork to create a connection between the ORM framework and other frameworks (such as web frameworks).

In the context of ORM frameworks, RoR is an exception. The ORM framework is built into the core of RoR in the form of Active Record. In this discussion, the focus will be on the basics of Active Record. The first section will focus on the basics of Active Record. The second section will detail the steps required in connecting the database, and in the third section I will use Active Record along with ActionController and ActionView in an example. So that’s the agenda.


1 2 3 4
If Spiders and Worms Can Do It, Why Can't We?

Photo of a silkworm cocoon spun in a lab at Tufts University.

Imagine a material that is tougher than Kelvar or steel, yet remarkably flexible. It's something you can easily find in your attic or a lingerie store. It's as instantly recognizable today as it was to our early ancestors, yet we still aren't sure exactly how it's made.

The miracle thread in question is natural silk, the ubiquitous fibers made by spiders and silkworms, which has been used throughout history for items ranging from stockings and parachutes to surgical sutures. Today ...

More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=117415&WT.mc_id=USNSF_51&WT.mc_ev=click


This is an NSF News item.

PycckaR
BepcuR


Articles
Articles


Library
Library


Downloads
Downloads

Google Chrome Golf 6
 © Internet, books, teachers and Rudevich Alexander brains.