Shimju David’s every day journey through Coldfusion, Flex and AIR

The most needed tutorial of Railo now is:

Posted by shimju on April 2, 2009

Now Railo started heating up again among ColdFusion Community and Iam sure it will become more hot once the production version of 3.1 launches with full BlazeDS Support (hoping soon:)

CF developers like us are very keen in trying out Railo and few of them already tried, but an issue here I felt is most of our folks are from Windows platform and few of them on Mac and I guess very few are on Linux . Though Railo supports all these platforms seamlessly, it will be really worth (specially in this tight economy condition :) ) if we deploy it on Linux OS- > Thereby we can say “Jai Ho” to Open source.

Now I will stop beating around the bush- Can anybody in our community help folks like us who are on Windows platform write a massive tutorial (should be written from a windows user perspective) about setting up a Railo powered VPS Server- such as connecting from Windows machine to Linux VPS using SSH, Installing web server (Apache), Java Application Server, Railo, MYSQL, FTP Server, Mail Server, Setting up websites etc This will be really really helpful. Railo Folks are you listening me :)

Posted in ColdFusion | 12 Comments »

Adding a custom link to your ColdFusion Administrator in CF8

Posted by shimju on March 26, 2009

Today when I tried to add Raymond Camden’s SpoolMail ColdFusion Mail Reader on my development server whch is CF8, I noticed the change in adding a custom link to CF adminstrator. Prior to CF8 , it was like adding the link on extensionscustom.cfm wich can be found under /CFIDE/admistrator/ folder. But In CF 8 it is changed and now it is much more modular as it in an XML file named custommenu.xml under /CFIDE/admistrator/.

This is how we can add a link now :

<submenu label=”Spool Mail”>
<menuitem href=”spoolmail/index.cfm” target=”content”>SpoolMail</menuitem>
</submenu>

Posted in ColdFusion | 1 Comment »

FarCry CMS is good system, but lacks good easy docs!!

Posted by shimju on January 13, 2009

FarCry 5 Jump Start Course which was released by Daemon few months before  is not having enough content to develop a website at least we needed a better doc like we had earlier for FarCry 4.0 CMS Developer Training Course. Rather than going through various Wiki’s and blogs, if we have a PDF document like this how easy it will be for the developers to use this software. Why Daemon?? not listening to this- I certainly feel if you improve documentation part,  the userbase for FarCry will go double in less time. Your hardwork is not getting fully noticed- We often can hear remarks like “FarCry CMS is TOO over the top for us” and I can undoubtfully say that it is due to lack of easy solid documents/books.

My Request is this- Daeomon should have to work on this area and release beginner level and advanced level farcry ebooks at a price.

Posted in Uncategorized | Leave a Comment »

How to accomplish single domain licensing successfully?

Posted by shimju on November 14, 2008

Seeing some interesting open source web based softwares which are sold based on number of domains  (means installing it for a single domain cost $100, for installing it for two domains need to purchase two domain license which cost $180 etc..) , I started wondering how this can accomplish successfully in the case of open source software. Smart developers can easily break the domain limitations and can use it for many of their similar websites. After thinking deeply and discussing with some other developers I still not able to get a smart 100% protected solution. Can anybody can share their great ideas?

Please note that If your solution require the encryption of your domain protecting routine that is allowable.

So come on guys!! just share your ideas which will benefit all of us to protect our intellectual property from misuse.

Posted in Miscellaneous | Leave a Comment »

Happy Independence Day to all Indians

Posted by shimju on August 15, 2008

Today is our Independence Day.  India’s Independence Day is celebrated on August 15 to commemorate its independence from the British rule and its birth as a sovereign nation on that day in 1947. The day is a national holiday in India. A country got rid of her foreign yoke and became a sovereign nation, she celebrated her sovereignty on this day – the triumph of numerous martyred souls. It was a day of fulfillment, it was the day of a new beginning, a birth of a nation.On the stroke of midnight, a country came into life again as the british handed over the governance of India to the Indian leaders.The long and difficult struggle had borne fruit at last, though the happiness was marred by the fact that the country was divided into India and Pakistan and the violent communal riots had left the countries permanently scarred.

That was the price that India paid for her dearly bought freedom. The british government declared the country independent and left for their own shores. On the 15th of August, 1947, India became completely independent. It was on this historic date that Jawaharlal Nehru, the first prime Minister of India, unfurled the Indian tricolor on the ramparts the magnificent Red Fort, symbolically marking the end of the british colonial rule.

WISH YOU ALL INDIANS MY HAPPY INDEPENDECE DAY!

Posted in Uncategorized | Tagged: | 1 Comment »

www.flexcart.net – Adobe Flex based Shopping Cart Solutions

Posted by shimju on July 11, 2008

Today I found a nice looking website www.flexcart.net while I was searching for a good Flex based shopping cart solution provider.

As per the website says “flexcart.net is a suite of Rich Internet Applications (RIA) that will dramatically improve the online shopping experience to deliver higher conversion rates and increased brand equity for retailers who need to differentiate themselves online. It solve the checkout abandonment issue that is currently plaguing the industry “

Flexcart.net leverages Adobe’s widely-deployed Flex®, Flash® and ColdFusion® technologies to make the online shopping experience more dynamic, responsive, and intuitive.  They focus on one aspect of the online shopping cycle – from browsing the store to evaluating and comparing products to pageless checkout and order management.

Well they haven’t  launched it yet and if you are person like me who is interested in such a service, you can register with them and they will notify you when they go live.

Posted in Flex Journey | Tagged: , , , , , , , , , , , | 1 Comment »

EmaxSoftware- Coldfusion Outsourcing Company based in India

Posted by shimju on June 30, 2008

If you have Coldfusion project to be developed and have limited budget and can’t compromise on quality, then  this is the best place to go for. Emax Software Provides best-in-class Off shore Web Development and Rich Internet Application(RIA) Development Services from their facility in India to software development companies and independent consultants abroad. It has a dedicated coldfusion and Flex team who have trained in object-oriented ColdFusion Development and expertised with MVC frameworks like Model-Glue, FuseBox and ColdBox. <br>

Emax Software :- Leaders in Outsourced ColdFusion Development and Flex RIA Development Services.

Posted in ColdFusion | Tagged: , , , | 1 Comment »

Spam Filter for Outlook and Express, Windows Mail and Servers

Posted by shimju on May 9, 2008

If you are wasting your productive hours by deleting spam emails from your Outlook, Outlook Express or Windows Mail , you can try out spamfighter

It saved tons of my work hrs @ $29.00 and ofcourse a free version is also there for free soles :)

Posted in Miscellaneous | Tagged: | 1 Comment »

Coldfusion based paypal IPN Integration

Posted by shimju on November 6, 2007

Paypal IPN integration :-

Please follow the steps below

  1. Get a Paypal business account after signing up with paypal
  2. Login to your paypal account
  3. click on profile tab
  4. click on Instant Payment Notification Preferences under Selling Preferences
  5. Enter the Instant Payment Notification (IPN) URL . ie, www.yourwebsitedomain.com/ipn.cfm. Dont worry about IPN.CFM now , we can work out that script later. So now you gave the Instant Payment Notification (IPN) URL and turn ON the Instant Payment Notification (IPN). Back to profile summary
  6. Now click on Website Payment Preferences again under Selling Preferences

Turn on Auto Return

Give the same URL www.yourwebsitedomain.com/ipn.cfm for Return URL.

Turn on Payment Data Transfer -> On

Also turn on PayPal Account Optional:

Click Save and that’s it.

7. (optional step) this step is for people who are conscious about beauty.

Click on Custom Payment Pages under Selling Preferences and customize

your PayPal’s payment page by adding header URL, background color and border color of the header.

8. Lets move on to real code- CheckOut form

This will be the checkout form of your shopping cart.

Please replace with your information which are marked in bold

<cfoutput>

<form action=” https://www.paypal.com/cgi-bin/webscr” method=”post”>

<input type=”hidden” name=”cmd” value=”_xclick”>

<!— put your paypal business account here—>

<input type=”hidden” name=”business” value=”shimjudavid@gmail.com“>

<!— put the list of products in the cart between value. You can dynamically populate your values here —>

<input type=”hidden” name=”item_name” value=”product1, product2, product3“>

<!— put the order_id here. You can dynamically populate your order id here —>

<input type=”hidden” name=”item_number” value=”1000“>

<!— put the currency code here —>

<input type=”hidden” name=”currency_code” value=”USD“>

<!— put the total amount of your cart which includes tax and shipping here —>

<input type=”hidden” name=”amount” value=”#DollarFormat(val(variables.total_cost))#“>

<!— this is the controller page which does the logic if payment is success or failure —>

<input type=”hidden” name=”return” value=”http://www.yourwebsite.com/checkout_controller.cfm“>

<input type=”hidden” name=”cancel_return”

value=”http:// www.yourwebsite.com /checkout_failure.cfm“>

<input type=”image” border=”0″ src=”paypal_logo.gif” name=”submit”

alt=”Make payments with PayPal – it’s fast, free and secure!”>

</form>

</cfoutput>

9) ipn.cfm

Copy paste this code and save it to directory which you mentioned on paypal IPN URL.

<cfif IsDefined(”FieldNames”)>

<!– read post from PayPal system and add ‘cmd’ –>

<cfset str = “cmd=_notify-validate” />

<cfloop index=”TheField” list=”#FORM.FieldNames#”>

<cfset str = str & “&#LCase(TheField)#=#URLEncodedFormat(Evaluate(TheField))#” />

</cfloop>

<cfif IsDefined(”FORM.payment_date”)>

<cfset str = str & “&payment_date=#URLEncodedFormat(FORM.payment_date)#” />

</cfif>

<cfif IsDefined(”FORM.subscr_date”)>

<cfset str = str & “&subscr_date=#URLEncodedFormat(FORM.subscr_date)#” />

</CFIF>

<!– post back to PayPal system to validate –>

<CFHTTP URL=”https://www.sandbox.paypal.com/cgi-bin/webscr?#str#” METHOD=”GET” RESOLVEURL=”FALSE” />

<!– check notification validation –>

<cfif CFHTTP.FileContent IS “VERIFIED”>

<!– check that payment_status=Completed –>

<cfif FORM.payment_status IS “Completed”>

<!– check that receiver_email is your email address –>

<cfif FORM.receiver_email IS “<!—enter email —>”>

<cftry>

<cfcatch type=”any”><!— /home/fsb/logs/paypal_error.log —>

<cffile action=”append” file=”paypal_error.log” output=”Error #Now()#: #cfcatch.Detail#” /><!— ,#str# —>

</cfcatch>

</cftry>

</cfif>

</cfif>

</cfif>

<cfelse>

<cflocation url=”<!— Enter URL —>” addtoken=”no”/>

</cfif>

10)checkout_controller.cfm

<!— comes from paypal as success —>

Url scope : <cfdump var=”#url#”><br>

<cfif isdefined(”URL.ST”) AND URL.ST EQ “Completed” AND isdefined(”URL.item_number”) >

<cfquery name=”updateOrder” datasource=”#REQUEST.dsn#”>

UPDATE testorder

SET order_status = 1

WHERE orderNumber = ‘#URL.item_number#’

</cfquery>

<cflocation addtoken=”yes” url=”checkout_success.cfm?order_id=#URL.item_number#”>

<cfelse>

<cflocation addtoken=”no” url=”checkout_failure.cfm”>

</cfif>

11) checkout_failure.cfm

Display page, if payment is unsuccessful

<p align=”center” class=”error”>Your payment is not successfully processed.</p>

<p align=”center” class=”error”>We sincerely apologize for the inconveniences caused hereby.</p>

12)Checkout_success.cfm

Display page, if payment is successful

<cfoutput>

<p align=”center” class=”error”>Your payment is successfully processed.</p>

<p align=”center” class=”error”>Your Order Number is #url.order_id#</p>

</cfoutput>

 

Posted in ColdFusion | Tagged: , , , | 5 Comments »

Favorite coldfusion blogs

Posted by shimju on November 3, 2007

Blogs and its quality normally vary based on the number and quality of posts.

For example during 2005, I was a regular visitor of www.asfusion.com which had a lot of quality posts related to Coldfusion Flash forms and Flash remoting.. Everyday I used to comes to this site to check their new posts and comments to existing posts… I must say I was an addict to this bog… After the popularity of flash form diminished and due to less activity in asfusion.com, now I seldom visit here…

 

http://www.bennadel.com/blog/ (KinkySolutions.com) is a quality coldfusion blog.. I love it.

 

http://www.nodans.com/index.cfm/Model-Glue is a great place to learn Model-Glue, ColdSpring.

 

And Above all, I must say our Coldfusion Jedi Raymond Camden’s www.coldfusionjedi.com is the best blog ever happened to coldfusion community. It still stays like Mount Everest with rich coldfusion knowledgebase.. I suggest all coldfusion developers (beginner to Advanced) go through each post from 2004 till now and Iam sure at the end you will gain great coldfusion practical knowledge  from this blog.

Posted in ColdFusion, Model-Glue | 2 Comments »