AMF for the Apple iPhone
http://egnaro.com/post.cfm/amf-for-iphone
Filed under: cfmx, flex, iPhone | Tagged: AMF, coldfusion, flash remoting, iPhone | Leave a comment »
AMF for the Apple iPhone
http://egnaro.com/post.cfm/amf-for-iphone
Filed under: cfmx, flex, iPhone | Tagged: AMF, coldfusion, flash remoting, iPhone | Leave a comment »
Here is the ultimate ColdFusion resource.
http://www.carehart.org/cf411/
Filed under: cfmx, cfmx 7, cfmx 8, cfmx 9 | Tagged: coldfusion | Leave a comment »
Here is an article on how to use jQuery from Google (CDN) and your local web server.
Filed under: cfmx | Tagged: CDN, coldfusion, jQuery | Leave a comment »
Here is some information concerning ColdFusion 9.0.1.
http://www.aaronwest.net/blog/index.cfm/2010/7/13/ColdFusion-901-Released
Documentation of changes to the Language.
http://www.adobe.com/support/documentation/en/coldfusion/901/cf901features.pdf
Filed under: cfmx 9 | Tagged: coldfusion, ColdFusion 9 | Leave a comment »
I think I do these posts in batches because I’m so busy in my day job 🙂 Here is a good link concerning developing Object-oriented ColdFusion.
Filed under: cfmx, cfmx 7, cfmx 8, cfmx 9 | Tagged: coldfusion, Object-Oriented Concepts | Leave a comment »
1.) Creating an Application from your desktop
Application Type : Web Application
Application server type: ColdFusion
Use remote object access service [ checked ]
ColdFusion Flash Remoting [ checked ]
ColdFusion Installation type: standalone
Web Root: d://cf9/wwwroot
Root URL: http://localhost:8500/
ColdFusion WAR: d:/cf9/wwwroot/cfusion-ear/cfusion-war/
Main source folder: src
Output folder URL: bin-debug
* Flex App: I copied this code and compiled the code via the ‘run’ button.
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml”
layout=”absolute” viewSourceURL=”srcview/index.html”>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.Fault;
import mx.rpc.events.ResultEvent;
// send
public function WelcomeMsg():void {
Alert.show(test_name.text);
ws.WelcomeMsg(test_name.text );
}
// result
private function onResult( e : ResultEvent ) :void {
msg.text = e.result.toString();
}
// error msg
private function onFault( e : FaultEvent ) :void {
msg.text = e.fault.faultString;
}
]]>
</mx:Script>
<mx:RemoteObject id=”ws”
destination=”ColdFusion”
source=”apps.flex.test_rs1.src.NEWCFComponent” >
<mx:method name=”WelcomeMsg”
result=”onResult(event)”
fault=”Alert.show(event.fault.message, ‘Erro’)” />
</mx:RemoteObject>
<!–
<mx:method name=”WelcomeMsg”
result=”onResult(event)”
fault=”Alert.show(event.fault.message, ‘Erro’)” />
–>
<mx:Button x=”284″ y=”10″ label=”Get Welcome Message.”
click=”WelcomeMsg()” />
<mx:TextInput id=”msg” x=”481″ y=”10″ width=”300″ />
<mx:TextInput id=”test_name” x=”116″ y=”10″ width=”150″ />
<mx:Label x=”10″ y=”12″ text=”Enter your name:” />
</mx:Application>
* ColdFusion CFC: Save this cfc as [NEWCFComponent.cfc] in the same folder as src. You will notice that I append to a log file so I can verify that the cfc is being executed.
<cfcomponent displayname=”CF_Service” output=”false”>
<cffunction access=”remote” returntype=”string”>
<cfargument required=”yes” default=”default message… “>
<cfset v_now = Now() & ” <br />” >
<cffile action=”append” addnewline=”yes”
file=”#GetDirectoryFromPath(GetBaseTemplatePath())#cfc_log_file.html”
output=”#v_now# date=YO, #test_name#!” fixnewline=”no” >
<cfreturn “YO, #test_name#!”>
</cffunction>
</cfcomponent>
* Test CFC: One should make sure one doesn’t get an error from this specific method in the CFC. One should use default values for all of the CFC arguments.
http://localhost:8500/apps/flex/test_rs1/src/NEWCFComponent.cfc?method=WelcomeMsg
* Run a Flex Application via the ‘RUN’ button. After you compile the application, it will launch a browser of the flex page. One will put your ‘name’ in the first box and click on the button. You will notice the ‘YO’ and your name in the second box coming from the cfc.
https://localhost:8500/flex/test_rs2/bin-debug/test_rs2.html
2.) Create a Flex Application on your web server
Application Type : Web Application
Application server type: ColdFusion
Use remote object access service [ checked ]
ColdFusion Flash Remoting [ checked ]
ColdFusion Installation type: J2EE
Web Root: \\[server_name]\regroot\
Root URL: https://domain_name.com/
ColdFusion WAR: \\[server_name]\regroot\cfusion-ear\cfusion-war\
Main source folder: src
Output folder URL: bin-debug
* Flex App: I copied this code and compiled the code via the ‘run’ button.
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml”
layout=”absolute” viewSourceURL=”srcview/index.html”>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.Fault;
import mx.rpc.events.ResultEvent;
// send
public function WelcomeMsg():void {
Alert.show(test_name.text);
ws.WelcomeMsg(test_name.text );
}
// result
private function onResult( e : ResultEvent ) :void {
msg.text = e.result.toString();
}
// error msg
private function onFault( e : FaultEvent ) :void {
msg.text = e.fault.faultString;
}
]]>
</mx:Script>
<mx:RemoteObject id=”ws”
destination=”ColdFusion”
source=”flex.test_rs2.src.NEWCFComponent” >
<mx:method name=”WelcomeMsg”
result=”onResult(event)”
fault=”Alert.show(event.fault.message, ‘Erro’)” />
</mx:RemoteObject>
<mx:Button x=”284″ y=”10″ label=”Get Welcome Message.”
click=”WelcomeMsg()” />
<mx:TextInput id=”msg” x=”481″ y=”10″ width=”300″ />
<mx:TextInput id=”test_name” x=”116″ y=”10″ width=”150″ />
<mx:Label x=”10″ y=”12″ text=”Enter your name:” />
</mx:Application>
ColdFusion CFC: Save this cfc as [NEWCFComponent.cfc] in the same folder as src. You will notice that I append to a log file so I can verify that the cfc is being executed.
<cfcomponent displayname=”CF_Service” output=”false”>
<cffunction name=”WelcomeMsg” access=”remote” returntype=”string”>
<cfargument name=”test_name” type=”string” required=”yes” default=”default message… “>
<cfset v_now = Now() & ” <br />” >
<cffile action=”append” addnewline=”yes”
file=”#GetDirectoryFromPath(GetBaseTemplatePath())#cfc_log_file.html”
output=”#v_now# date=YO, #test_name#!” fixnewline=”no” >
<cfreturn “YO, #test_name#!”>
</cffunction>
</cfcomponent>
* Test CFC: One should make sure one doesn’t get an error from this specific method in the CFC. One should use default values for all of the CFC arguments.
http://[domain-name.com]/flex/test_rs1/src/NEWCFComponent.cfc?method=WelcomeMsg
* Run a Flex Application via the ‘RUN’ button. After you compile the application, it will launch a browser of the flex page. One put you ‘name’ in the first box and click on the button. You will notice the ‘YO’ and your name in the second box.
https://[domain-name.com]/flex/test_rs2/bin-debug/test_rs2.html
Filed under: cfmx, cfmx 7, cfmx 8, cfmx 9, flex | Tagged: coldfusion, flash remoting, flex, Flex RemoteObject | Leave a comment »
Here is a good site using ColdFusion and Flex.
Filed under: cfmx, cfmx 7, cfmx 8, cfmx 9, flex | Tagged: coldfusion, flex, flex examples, flex remoting | Leave a comment »
This is the link to Adobe Developers site.
Filed under: AIR, cfmx, flash, Flash Platform, flex, Flex 4 | Tagged: coldfusion, flash, flex | Leave a comment »
Here is a simple article about Flex and ColdFusion RemoteObject/WebServices.
http://macmartine.com/blog/2008/04/flex_and_coldfusion_remoteobje.html
Filed under: cfmx, cfmx 7, cfmx 8, cfmx 9, flex | Tagged: coldfusion, flex, remoteobjects, web services | Leave a comment »
Here is an article how to use ColdFusion 9 services with Flex.
http://balajisridhar.wordpress.com/2009/11/27/how-to-consume-cfaas-using-flex-client/
Filed under: cfmx 9, flex | Tagged: cfmx 9, coldfusion, flex | Leave a comment »
Here is a great demo using an Open Source Java facial recognition software (jar) with ColdFusion.
http://cfsilence.com/blog/client/index.cfm/2010/1/21/Facial-Recognition-in-14-Lines-Of-ColdFusion
Filed under: cfmx 8, cfmx 9, Uncategorized | Tagged: coldfusion, Facial Recognition, JAVA, Open Source | Leave a comment »
I like this demo from Raymond Camden’s site about how to create images from a URL. This means I could create snapshots of my application for training purposes.
http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnails
Filed under: cfmx, cfmx 8, cfmx 9, Uncategorized | Tagged: coldfusion | Leave a comment »
Here is nice little tip concerning ColdFusion and PING.
http://cfsearching.blogspot.com/2010/05/ping-with-coldfusion-and-net.html
Filed under: cfmx, Uncategorized | Tagged: .Net, coldfusion, ping | Leave a comment »
Here is a list of new cfmx 9 tips and tricks.
Documentation
Configuring and Administering Adobe ColdFusion 9
Adobe cfmx 9 CFML Reference
Developing Adobe cfmx 9 Applications
Installing Adobe cfmx 9
Adobe cfmx 9 Language Reference
Using Adobe ColdFusion Builder
Installing Adobe ColdFusion Builder
Trick and Tips
Excellent CFMX 9 review
Sneak Peek of Proxy Tags in ColdFusion 9
ColdFusion Functionality Exposed As Services
The New ColdFusion LOCAL Scope
Look, No Datasource
Sneak Peek of Proxy Tags in ColdFusion 9
AIR, CFMX9 and SQLLite
Flash Remoting in ColdFusion 9 is super fast!
Changes in the XML configuration files for Flash Remoting in ColdFusion 9
VIDEOS
9 Videos
Filed under: AIR, cfmx, cfmx 9, flex | Tagged: AIR, cfmx 9, cfmx 9 documentation, coldfusion, flash remoting, flex 4, sqllite | Leave a comment »
Here is a list of new cfmx 8 tips, trick and problems in CFMX 8.
TIPS
TRICKS
PROBLEMS
ColdFusion createObject “Component” and Pathing Performance
Good References
RIA Forge
CFLIB
Filed under: cfmx 8, Uncategorized | Tagged: cfmx 8, coldfusion, coldfusion references, performance problems, performance tips | Leave a comment »
I’m going to start to add links concerning making my CFMX faster which are not related to database issues. I will create a separate page for those tips.
Performance tuning for ColdFusion applications
CF911: Easier thread dumps and stack traces in CF: how and why
Filed under: cfmx, cfmx Performance tips | Tagged: cfmx, coldfusion, coldfusion performance, tips | Leave a comment »