Tech Rocks

Coldfusion
Java
JQuery

An online resource for latest web technologies like Coldfusion, JRun, Pro*C, JQuery, HTML5, PHP, W3C, Java, J2EE, C, C++, ORACLE, PL/SQL, MySql, Ajax, Coldbox, Fusebox, UNIX, JavaScript, NodeJS and much more... contact@tech-rocks.org

Saturday, December 20, 2008

What are SVG and XSLT, and why use them for image generation?

http://surguy.net/articles/client-side-svg.xml

An Introduction to Scalable Vector Graphics

http://www.xml.com/pub/a/2001/03/21/svg.html

SVG - Scalable Vector Graphic

http://www.xul.fr/en-xml-svg.html

Add interactivity to your SVG

http://www.ibm.com/developerworks/library/x-svgint/

A JPEG to SVG converter written in PHP

http://www.enetzwerk.de/svg/index2.html

XML Tutorial

http://www.w3schools.com/xml/default.asp

XML to HTML

http://www.w3schools.com/xml/xml_to_html.asp

Super scope in coldfusion

when creating webservice like :






> #Arguments.msg#">
#Arguments.msg#">











Super scope can be used by menthods inside the class to access variables outside the method ie, class variables.
invoking the webservice can be done as shown below:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">







http://localhost/services/pub.cfc?wsdl")>





#vReturn#











Wednesday, December 17, 2008

How to create webservice in coldfusion in WSDL

Create a CFC that uses remote functions in it.
Place the CFC in a folder anywhere in your PC.
Make that folder a Virtual Directory using IIS Mgr.
Once this is done type URl http://yourdomain.com/yourwebservicefolder/cfcservicename.cfc?wsdlin your browser. This will generate the wsdl for the webservice in xml format on the browser.
Save the output as cfcservicename.wsdl . Open the file and look for the path to the CFC. rename the path using your machines IP address.
write a client file in your wwwroot that access this webservice with the following code.
method="functionname"
returnvariable="Ret"
webservice="http://yourdomain.com/yourwebservicefolder/cfcservicename.wsdl">

Run this client file once on your coldfusion server.
This will create an entry in the webservices tab of your coldfusion administrator.
Once this entry is made in the administrator you can delete the cfcservicename.wsdl as the client page will be able to access the remote CFC from the .wsdl entry that is registered on the administrator.
Enjoy!

Saturday, December 13, 2008

Editable select box

http://www.dhtmlgoodies.com/scripts/form_widget_editable_select/form_widget_editable_select.html

li ul based menu

http://www.dhtmlgoodies.com/index.html?whichScript=dhtmlgoodies_menu2

Best Javascripts

http://www.dhtmlgoodies.com/index.html?page=menuScripts

cfcontent to microsoft word with image

http://www.tek-tips.com/viewthread.cfm?qid=1207473&page=1

Beginning Word Programming In VB

http://www.developer.com/net/vb/article.php/10926_1539621_2

Tag - ColdFusion

http://chomer.com/coding/coldfusion/tags-1/cfdocument.cfm

cfchart and cfdocument

basic cfchart, format="jpg", nested inside cfdocument tags, format="PDF", and it renders
http://www.daniweb.com/forums/thread36072.html

Microsoft adding XML files to Office 12

Microsoft adding XML files to Office 12
http://www.builderau.com.au/news/soa/Microsoft-adding-XML-files-to-Office-12/0,339028227,339191341,00.htm?feed=pt_word

CFDocument in ColdFusion 8

http://coldfused.blogspot.com/2007/07/enhancements-to-cfdocument-in.html

Accessing Complex COM Objects using Java proxies

http://nothinbutthebluesfestival.com/cfdocs/htmldocs/help.html?content=cfobject_11.html

New File I/O in ColdFusion 8

http://coldfused.blogspot.com/2007/07/new-file-io-in-coldfusion-8.html

ColdFusion MX: Using application scope to improve COM performance

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18210

Using the Microsoft Word application object

Using the Microsoft Word application object
http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001585.htm

Wednesday, December 10, 2008

Using SOAP Request Headers in CFMX 6.1

http://www.fekke.com/blog/index.cfm/2005/9/21/UsingSOAPRequestHeadersinCFMX61

CFX_SOAP Tag Reference

http://www.zrinity.com/products/productdetail.cfm/id/1015

Deploy to Oracle Service Bus does not work

http://orasoa.blogspot.com/

Integrating PeopleSoft CRM with Oracle E-Business Suite Using Oracle BPEL Process Manager

http://www.oracle.com/technology/pub/articles/bpel_cookbook/pravin.html

My First ColdFusion Web Service, Creating a Web Service with ColdFusion: the Basics

http://www.bennadel.com/blog/430-My-First-ColdFusion-Web-Service.htm
http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001065.htm
http://www.devarticles.com/c/a/ColdFusion/Creating-a-Web-Service-with-ColdFusion-the-Basics/3/

session-management

http://www.itworld.com/UIR000908webmasteraf?page=0%2C1
Session variables
To effectively deploy session-management variables in ColdFusion, configure the application server to accept and monitor them. A tag must be added to the Applicaton.cfm page

isSimpleObject ?

http://tutorial401.easycfm.com/forums/viewmessages.cfm?Forum=12&Topic=10255


Monday, December 8, 2008

Comming Soon ... J-ADMIN V1.1

Dynamic Content Management System CMS
Features:
Developed in Fusebox 5.5 noxml framework for MVC architecture.
Developed in Coldfusion and MSSQL database.
Generates virtual pages implementing coldfusion code from user side.
Generate virtual links - search friendly URLs using ISAPI Rewrite.
Complete class based approach for database interactivity using Datamgr 2.2.
Class based session management using Sessionmgr.
Interactive file management using FCKEditor 2.6.3.

Its FREE! :)
Keep watching this blog!

Friday, December 5, 2008

CFMODULE vs CFINCLUDE

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:16166

CFOpenMail - Coldfusion Webmail (Web Mail) Client

http://www.opensourcecf.com/CFOpenMail/imapcfc_view.cfm

Learning ColdFusion 8: CFZip

Kool site

http://www.bennadel.com/blog/864-Learning-ColdFusion-8-CFZip-Part-V-Deleting-Zip-File-Archives.htm

Site Encryption

Complete site encryption!
http://tutorial465.easycfm.com/

Recurrsive Folder listing script in coldfusion - creates link rel tag for css files in a folder

http://www.mximize.com/how-can-i-display-a-recursive-directory-listing-




#Expandpath(Application.UploadsPath&"\js\")#
--->















Rewrite Rules Example

RewriteEngine On

RewriteCompatibility2 On

RepeatLimit 200RewriteBase

RewriteRule ^/jadmin-fb5/index.htm$ /jadmin-fb5/index.cfm

RewriteRule ^/jadmin-fb5/(.*).htm$ /jadmin-fb5/index.cfm?pageName=$1

RewriteCond %{REQUEST_FILENAME}.cfm -f

RewriteRule (.*) $1.cfm

Change jadmin-fb5 to ur localhost site or url

Integrating Datamgr 2.0 and Fusebox 5.5 noxml.

Integrating Datamgr 2.0 and Fusebox 5.5 noxml.
Datamgr 2.0 - handles the MODEl
methods of datamgr 2.0 accesable inside fusebox architecture. ISAPI for SEO friendly URL rewriting and much much more.
Application prototype (J-ADMIN 1.0) CMS to be released soon...

fusebox5.Application.cfc example



FUSEBOX_PARAMETERS.allowImplicitFusebox = true; FUSEBOX_PARAMETERS.defaultFuseaction = "app.index"; // you may want to change this to development-full-load , development-circuit-load mode FUSEBOX_PARAMETERS.mode = "development-full-load"; FUSEBOX_PARAMETERS.conditionalParse = true; FUSEBOX_PARAMETERS.password = "jeetualex"; FUSEBOX_PARAMETERS.strictMode = true; FUSEBOX_PARAMETERS.debug = true; FUSEBOX_PARAMETERS.errortemplatesPath = "/fusebox5/errortemplates/"; // These are all default values that can be overridden: // FUSEBOX_PARAMETERS.fuseactionVariable = "fuseaction"; // FUSEBOX_PARAMETERS.precedenceFormOrUrl = "form"; // FUSEBOX_PARAMETERS.scriptFileDelimiter = "cfm"; // FUSEBOX_PARAMETERS.maskedFileDelimiters = "htm,cfm,cfml,php,php4,asp,aspx"; // FUSEBOX_PARAMETERS.characterEncoding = "utf-8"; // FUSEBOX_PARAMETERS.strictMode = false; // FUSEBOX_PARAMETERS.allowImplicitCircuits = false;
FUSEBOX_CALLER_PATH = getDirectoryFromPath(getCurrentTemplatePath());

Variables.Config = GetDirectoryFromPath(GetCurrentTemplatePath()) & "j-admin.ini"; Application.Author = '#GetProfileString(variables.config, "default", "Author")#'; Application.WebsiteTitle = '#GetProfileString(variables.config, "default", "WebsiteTitle")#'; Application.BaseUrl = '#GetProfileString(variables.config, "default", "BaseUrl")#'; Application.BasePath = '#GetProfileString(variables.config, "default", "BasePath")#'; Application.UploadsPath = Application.BasePath&"/uploads"; Application.IncludesPath = Application.BasePath&"/includes"; Application.ComponentsPath = Application.BasePath&"/com"; Application.CSSPath = Application.IncludesPath&"/css"; Application.JSPath = Application.IncludesPath&"/js"; Application.ImagesPath = Application.IncludesPath&"/images"; Application.jq = CreateObject("component",Application.ComponentsPath&"/common/jquery"); Application.passwds = CreateObject("component",Application.ComponentsPath&"/passwds/passwds"); Application.DSN = "#GetProfileString(variables.config, "default", "DSN")#"; Application.DBType = "MSSQL"; Application.obj = CreateObject("component",Application.ComponentsPath&"/datamgr/DataMgr_Comp"); Application.obj.init(Application.DSN,Application.DBType); Application.availableResources=0; Application.counter1=1; Application.sessions=0;

Session.started = now();


executionTime: #executionTime# ms

Extending Application.cfc And OnRequestStart() With SUPER / Extending Your Root Application.cfc

Extending Application.cfc And OnRequestStart() With SUPER
http://www.bennadel.com/blog/1179-Ask-Ben-Extending-Application-cfc-And-OnRequestStart-With-SUPER.htm

Extending Your Root Application.cfc
http://corfield.org/blog/index.cfm/do/blog.entry/entry/Extending_Your_Root_Applicationcfc