Changes between Version 13 and Version 14 of NewFeaturesInMG3

Show
Ignore:
Timestamp:
05/21/09 10:59:32 (17 years ago)
Author:
cfgrok (IP: 64.30.223.5)
Comment:

Escaped wiki page links, corrected typo, modified spacing for consistency & changed wording for readability

Legend:

Unmodified
Added
Removed
Modified
  • NewFeaturesInMG3

    v13 v14  
    1  
    2  
    31= New Features In MG3 = 
    42 
     
    64 
    75== Bean Injection == 
    8 Automatically inject model components that are managed by ColdSpring into the application's controllers. 
     6Automatically inject model components that are managed by !ColdSpring into the application's controllers. 
    97 
    108[wiki:HowTos/HowToUseBeanInjection How To Use Bean Injection] 
     
    2422 
    2523== Search Engine Safe Urls == 
    26 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. 
     24In 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. 
    2725 
    28 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. 
     26Actually, you'll want to use event.linkto in place of self and myself now as this will allow you to switch your entire app to SES URLS quickly and easily. 
    2927 
    3028[wiki:HowTos/SESUrls How To Use Search Engine Safe Urls]  
     
    3432 
    3533== Content Caching == 
    36 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. 
     34Model-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. 
    3735 
    3836[wiki:HowTos/CachingLayer How To Use Content Caching] 
     
    4644== Formats == 
    4745 
    48 Often web sites are built for multiple front-end clients. One site may serve up pages to web browser, mobile devices, Flex or AIR applications, or AJAX requests. Typically all of these clients all want the exact same data, but each will need to format the data slightly different. In the past, Model-Glue would typically require you to build multiple events to serve different flavored data results. Or one event was used and the Controller fired a different result based on the other parameters. 
     46Often web sites are built for multiple front-end clients. One site may serve up pages to web browser, mobile devices, Flex or AIR applications, or AJAX requests. Typically these clients all want the exact same data, but each will need to format the data in a slightly different manner. In the past, Model-Glue would typically require you to build multiple events to serve different flavored data results, or one event was used and the Controller fired a different result based on the other parameters. 
    4947 
    5048Model-Glue 3 formalizes this with a new requestFormat attribute. The requestFormat attribute is now a special value in the Event context. Both the <results> and <include> tag now support a Format attribute. If specified, the result/include will only be executed if the request format value matches. 
     
    5250[wiki:HowTos/Formats How To Use Formats] 
    5351 
    54  
    55  
    5652== Remoting == 
    57 Make use of the binary protocol AMF and the FlashRemoting gateway in MG3! 
     53Make use of the binary protocol AMF and the !FlashRemoting gateway in MG3! 
    5854 
    5955[wiki:HowTos/Remoting How To Use Remoting] 
    60  
    61