Changes between Version 4 and Version 5 of NewFeaturesInMG3

Show
Ignore:
Timestamp:
05/04/09 09:34:38 (17 years ago)
Author:
davidhenry@… (IP: 174.99.26.254)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewFeaturesInMG3

    v4 v5  
    55[[TOC(inline)]] 
    66 
    7 == [wiki:HowTos/EventGeneration Event Generation] == 
     7== Event Generation == 
    88By calling undefined events in the URL, we can tell Model-Glue to do all the needed setup and free us from having to modify the !ModelGlue.xml file directly or create the files to handle the event. All of this is done by naming convention and makes the setup process very easy. 
    99 
    10 == [wiki:HowTos/EventCopyToScope Event.copyToScope()] == 
     10[wiki:HowTos/EventGeneration Event Generation HowTo Guide] 
    1111 
    12 == [wiki:HowTos/SESUrls Search Engine Safe Urls] == 
     12== Event.copyToScope() == 
     13[wiki:HowTos/EventCopyToScope Event.copyToScope() HowTo Guide] 
     14 
     15== Search Engine Safe Urls == 
    1316In previous versions of MG there was no built in SES URL handling.  However, it could be manually implemented using a number of techniques.  In many cases the user may or may not have been using the "myself" value which held the path to the index.cfm.  If you're using SES URL features in MG3 you won't want to use myself any more.  Instead, you'd use the event.linkto() function. 
    1417 
    1518Actually, you'll want to use event.linkto inplace of self and myself now as this will allow you to switch your entire app to SES URLS quickly and easily. 
    1619 
    17 == [wiki:HowTos/ApplicationCFCIntegration Application.CFC Integration] == 
     20[wiki:HowTos/SESUrls SESUrls HowTo Guide]  
    1821 
    19 == [wiki:HowTos/CachingLayer Content Caching] == 
     22== Application.CFC Integration == 
     23[wiki:HowTos/ApplicationCFCIntegration Application.cfc HowTo Guide] 
     24 
     25== Content Caching == 
    2026Model-Glue has historically provided some basic caching features.  Model-Glue 2 introduced a set of basic functions on the base Controller object that allow developers to cache values for a configured period of time.  Model-Glue 3 builds significantly on top of the caching features of Model-Glue 2.  Model-Glue 3 has a granular way to cache the outcome of event handlers and views.  However, Model-Glue 3 intentionally does not have an object caching system.  This is really a feature of your model and is not one of Model-Glue’s concerns. 
    2127 
    22 == [wiki:HowTos/Helpers Helpers] == 
     28[wiki:HowTos/CachingLayer Caching Layer HowTo Guide] 
     29 
     30== Helpers == 
     31 
    2332You can drop a CFC or CFM in the helpers folder of a Model-Glue application. Once you've done this, any Controller or View can run a method in the CFC or UDF defined in the CFM by using helpers.X.Y, where X is the name of the file and Y is the name of the method. 
    2433 
    25 == [wiki:HowTos/Formats Formats] == 
     34[wiki:HowTos/Helpers Helpers HowTo Guide] 
    2635 
    27 == [wiki:HowTos/Remoting Remoting] == 
     36== Formats == 
     37[wiki:HowTos/Formats Formats HowTo Guide] 
     38 
     39== Remoting == 
     40[wiki:HowTos/Remoting Remothing HowTo Guide] 
    2841 
    2942