-
Notifications
You must be signed in to change notification settings - Fork 140
Helpful Links
FW/1 - The Invisible Framework presentation presented by Sean Corfield on the Online ColdFusion Meetup (references FW/1 v1.0)
Some Interesting discussions on Google Groups
(Please note that some of the older discussions may refer to doController which was not officially supported and later changed to Controller. There may be additional changes made in newer versions so always refer to the Reference Manual when in doubt - these posts are just to help you get an idea on what direction to go)
- Where to put DSN?
- Bypass framework for certain pages/scheduled tasks
- Getting data/Displaying menus for a specific section/layout
- Another discussion on displaying menus in layout
- AJAX calls and bypassing security check for .cfc extensions
- Tips on making implicit service calls
- More tips on implicit service calls
- Save,validate,redirect use-case
- Explicitly calling services
- Coldspring and FW/1
- Good advice from Sean
- Fusebox to FW/1 transition
- Why do we have implicit service calls
- What is the different between "service" and "model"?
- Supress implicit calls + notes about upcoming v2.0
- Best practices for calling controllers vs controllers&services
- More best practices
- Development settings to prevent caching controllers/services
- Contributing to Github
As a reminder here is the full list of methods called automatically when FW/1 is asked for section.item:
- controllers/section.cfc:before()
- controllers/section.cfc:startitem()
- controllers/section.cfc:item()
- services/section.cfc:item()
- (any additional service calls that were added via the service() API call)
- controllers/section.cfc:enditem()
- controllers/section.cfc:after()
URL Rewrites
- http://groups.google.com/group/framework-one/browse_thread/thread/82a5494411f69d33/f790de14111fe8df#f790de14111fe8df
- http://groups.google.com/group/framework-one/browse_thread/thread/ed26ce70c17cf92f/c1c751bd401b6bd2#c1c751bd401b6bd2
- http://groups.google.com/group/framework-one/browse_thread/thread/82a5494411f69d33/2af895907a887645#2af895907a887645
- http://groups.google.com/group/framework-one/browse_thread/thread/7afa88cd83038f31/abda14f0b8c45713#abda14f0b8c45713
- http://groups.google.com/group/framework-one/browse_thread/thread/2f65388df9ab202e/221a3f5793023fb9
Apache/ISAPI Rewrite Rules for SES URLs without the index.cfm
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(assets|cfide|files|images|js|css|views|layouts|index.cfm) [NC]
RewriteRule ^(.*)$ /index.cfm/$1
** Resin (Railo Express) conf for SES URLs without the index.cfm** rein.conf
<host>
...
<rewrite-dispatch>
<!-- http://caucho.com/resin-3.1/doc/rewrite-tags.xtp -->
<dispatch regexp="\.(jsp|cfm|cfc|php|gif|css|jpg|png)" />
<dispatch regexp="^/railo-context/" />
<forward regexp="^/(.*)" target="/index.cfm/$1" />
</rewrite-dispatch>
For those interesting in learning more about Object Factories
Here are some great ColdSpring resources to get you thinking about bean factories, when you're ready, compliments of Brian Rinaldi, Brian Kotek and Kevan Stannard:
http://coldspringframework.org/coldspring/examples/quickstart/
http://www.objectorientedcoldfusion.org/wiki/Dependency_Injection
or wait for DI/1