Changes between Version 4 and Version 5 of NewFeaturesInMG3
- Timestamp:
- 05/04/09 09:34:38 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewFeaturesInMG3
v4 v5 5 5 [[TOC(inline)]] 6 6 7 == [wiki:HowTos/EventGeneration Event Generation]==7 == Event Generation == 8 8 By 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. 9 9 10 == [wiki:HowTos/EventCopyToScope Event.copyToScope()] == 10 [wiki:HowTos/EventGeneration Event Generation HowTo Guide] 11 11 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 == 13 16 In 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. 14 17 15 18 Actually, 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. 16 19 17 == [wiki:HowTos/ApplicationCFCIntegration Application.CFC Integration] == 20 [wiki:HowTos/SESUrls SESUrls HowTo Guide] 18 21 19 == [wiki:HowTos/CachingLayer Content Caching] == 22 == Application.CFC Integration == 23 [wiki:HowTos/ApplicationCFCIntegration Application.cfc HowTo Guide] 24 25 == Content Caching == 20 26 Model-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. 21 27 22 == [wiki:HowTos/Helpers Helpers] == 28 [wiki:HowTos/CachingLayer Caching Layer HowTo Guide] 29 30 == Helpers == 31 23 32 You 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. 24 33 25 == [wiki:HowTos/Formats Formats] == 34 [wiki:HowTos/Helpers Helpers HowTo Guide] 26 35 27 == [wiki:HowTos/Remoting Remoting] == 36 == Formats == 37 [wiki:HowTos/Formats Formats HowTo Guide] 38 39 == Remoting == 40 [wiki:HowTos/Remoting Remothing HowTo Guide] 28 41 29 42
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)