Skip to main content

Home/ WikiTechie/ Group items tagged library

Rss Feed Group items tagged

al-Amjad Tawfiq Isstaif

GFX - 0 views

  •  
    GFX - a 3D CSS3 animation library for jQuery. GFX integrates CSS3 transforms and transitions into jQuery, making it stupidly simple to create sophisticated and gorgeous animations.
al-Amjad Tawfiq Isstaif

chaplinjs/chaplin - 0 views

  •  
    "Chaplin is an architecture for JavaScript applications using the Backbone.js library. The code is derived from moviepilot.com, a large single-page application."
al-Amjad Tawfiq Isstaif

RequireJS - 0 views

  •  
    "RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code."
al-Amjad Tawfiq Isstaif

Real world Rails, Part 3: Optimizing ActiveRecord - 2 views

  • The third alternative is to provide a common capability, but using associations instead of inheritance. ActiveRecord has a feature called polymorphic associations that is ideal for attaching common behavior to a class without inheritance. You saw an example of a polymorphic association earlier in Address. I can use the same technique to attach my common attributes for content management instead of inheritance. Consider a class called ContentBase. Normally, to associate that class to another class, you would use a has_one relationship and a simple foreign key. But you would probably want your ContentBase to work with more than one class. You need a foreign key, and also a column that defines the type of the target class. That's exactly how ActiveRecord polymorphic associations work. Look at the classes in Listing 11.
    • al-Amjad Tawfiq Isstaif
       
      This is exactly what we want.
Tamer Shlash

Standard Numeric Format Strings - 0 views

    • Tamer Shlash
       
      Learn how to add padding to numbered items, for example: "01" "02" .... "09" "10" "11" I mean the 0 before 1,2,..,9
1 - 5 of 5
Showing 20 items per page