Download Impel

Version 0.7

Read the API

It’s simple

Download Impel Modules

Transparent Database Syncing

Read the FAQ

Yes, it runs on the iPhone

Built-In Namespace String

Method Summary
Method Attributes Method Name and Description
<static>  
Make the first character of this String lower case
<static>  
Parse a Peer::column string into its constituent parts
<static>  
Capitalize the first character of this String
Method Detail
<static> String.prototype.lcfirst()
Make the first character of this String lower case

<static> {Object} String.prototype.parsePeerColumn()
Parse a Peer::column string into its constituent parts
 "CardPeer::name".parsePeerColumn();

 will return:
   { peer          : a CardPeer object reference, 
     peer_name     : "CardPeer", 
     column        : "name", 
     table_column  : "card.name", 
     getter        : "getName", 
     setter        : "setName", 
     orig          : "CardPeer::name" }
Returns:
{Object} containing the name of the Peer class, associated table column, associated column, associated get method, associated set method, and the original string as well as a reference to the associated ImpelPeer object.

<static> String.prototype.ucfirst()
Capitalize the first character of this String

blog comments powered by Disqus

Impel takes the pain out of working with HTML5 asynchronous databases.

Statement callbacks? Transaction callbacks? One-to-many and many-to-many relationships? How the heck do I deal with all without my head exploding?

Use Impel; create an object then call object.save(); Now get a cup of coffee.

What’s an ORM

Object Relational Mapping is a programming technique that turns your database, in effect, into a virtual object database.

With an ORM you no longer need to worry about how to save a single object across multiple tables, you just call, "save" on the object.

 
Contact Us | © 2009 Caleb Crane | License