Friday, October 9, 2009

Gartner Research note on Adobe ColdFusion

See the research note by Gartner on Adobe ColdFusion Past, Present and Future.
http://www.adobe.com/enterprise/pdfs/Adobe3112.pdf

Read more!

Tuesday, October 6, 2009

Adobe released ColdFusion 9 at Adobe Max

Folks, for your information, Adobe has officially released Adobe ColdFusion 9 at Adobe MAX today.
http://www.adobe.com/products/coldfusion/

Read more!

Tuesday, September 8, 2009

Create a twitter reader using JQuery

  The year of JavaScript has come and JQuery is one of the powerful JavaScript libraries out there. We could perform a multitude of tasks using these libraries. I have created a twitter reader that displays a user's timeline using JQuery. The implementation is very simple.
See the code below.  
 
<html>
<head>
<title>Twitter Reader</title>
<script src="jquery.js" language="javascript"></script>
</head>
<body align="center" bgcolor="#181C21">
<script language="javascript" type="text/javascript">
$(document).ready(function(){
var twitterURL = 'http://twitter.com/users/show/prasanthkumars.json';
$.getJSON("http://twitter.com/statuses/user_timeline/prasanthkumars.json?callback=?",
function(data){
$.each(data,function(i, item){
$("<div style='color:#865833'>"+item.text+"</div>").appendTo("body");
});
$("div").filter(function(index){
return (index % 2 == 0);
}).css("background","#1FC8FE").css("width","30%");
$("div").filter(function(index){
return (index > 0 && index % 2 != 0);
}).css("background","#CBF2FF").css("width","30%");
});
});
</script>
<div id="twitterResponseDiv" name="twitterResponseDiv" style="font-family:verdana;color:green;background-color:#CBF2FF;width:30%">
Twitter Response Div
</div>
</body>
</html>
I have included the jquery.js file to the page and then used the getJSON method to load JSON data using an HTTP GET request. On receipt of data, it is looped and the text is displayed in different divs which is attached to the body element.

For showing different colors for alternating divs. I have used the filter function available with JQuery.

References :
  1. http://docs.jquery.com/Getjson
  2. http://apiwiki.twitter.com/Twitter-API-Documentation

Read more!

Thursday, August 13, 2009

Remove unnecessary blank lines from the ColdFusion output

ColdFusion outputs blank lines on the data sent to the browser which can sometimes get higher that it will be many times higher than actual output lines. In some cases this will eat into the bandwidth. To avoid this, check the 'Enable Whitespace Management' under 'Settings' in ColdFusion Administrator. This will remove many of the extra spaces, tabs, and carriage returns that ColdFusion might otherwise persist from the CFML source file. Enabling this could lead to a minor performance issue with the CF Server, but compare with the bandwidth gain and decide to use this feature.

Read more!

Friday, July 17, 2009

OpenSearch - enabling your site with OpenSearch

You must have seen list of search engines in mozilla search bar (usually to the right end after address bar). There are a list of sites like Google, Yahoo, Wikipedia on the list from which we can choose the default search engine. These sites are OpenSearch enabled. The Mozilla browser can directly send search queries from the search bar to these sites. There are lot of sites which are OpenSearch enabled. We can easily identify a site is OpenSearch by looking at the arrow icon on the search bar in Mozilla.
If the site is OpenSearch enabled, there will be glow for the arrow icon
You can click the arrow to see the option "Add " so that the search the site will also get listed in the search engine list. You can search that site by directly entering the search term on the mozilla browser search box and selecting the site from the list of search engines.
More details, the demo and how to enable OpenSearch on the following link http://www.prasanthkumars.com/searchdemo.asp.

Read more!

Sunday, July 5, 2009

Adobe Product Security Incident Response Team (PSIRT)

blog of Adobe Product Security Incident Response Team (PSIRT)


Read more!

SAAS and other online free services - How to save your data remotely and access from anywhere?

The new model of software application development cannot ignore the methodology of SAAS that is beneficial for both the customers and companies. In SAAS method, you only pay for what you use, unlike buying the whole suite of applications in which you rarely use options other than a few. If you get MS Office as a SAAS app, you can pay for the Excel or Word and only for the time you use.



Coming to the main point of this blog post, “How to save your data remotely and access from anywhere?” I remember the time around 10 years back when I bought my first PC. The Internet was available only for the elite community at a premium and that too dialup. We have to literally pray for the connection to get successful and pray more for not getting disconnected in between. With a little over 8 kbps max speed, you can browse a lot of static sites and check your mails. Hotmail was the free service that give you 2 MB which was more than enough, and who was out there to spam you?

Things have changed with Google entering the email arena with unlimited storage space. By that time broadband came down to households. Now you have thousands of MP3, hundreds of movies and hopefully very little useful data on your hard disk.

But if one day, your hard disk breaks down or your OS gets corrupted. All the data and customizations you made are lost!!! No. you have a 500 GB backup hard drive and you keep a backup of everything you do in that. You can simply restore everything from the backup. Good idea, but you always have to sync the data, keep the versions and also carry it everywhere you go.

The other way is to store everything, at least your documents, to the web and access from anywhere, anytime, but with an internet connection.

The applications / services noted below can be accessed with Mozilla, which is available on Windows, Linux and Mac.

1. Google Docs and Gears engine (http://docs.google.com)

Create, edit and save your documents using Google Docs. It has a word processor, spread sheet and presentation support. We can also share these documents with friends and track the changes. Also, export them to different formats like pdf, ods, doc etc.

If you are a frequent traveler and don’t get access to net while traveling, you can enable Google Gears support to Google Docs so that the documents are available offline and are synced when we get online.

For using Google Docs you need a Google account.

Similar Services:

a. Adobe Acrobat

2. X-Marks – bookmark sharing (http://www.xmarks.com/)

x-marks provides synchronization facility for your bookmarks automatically. For using x-marks you just need to install the plug-in for FireFox and create and x-marks account. Now you can access your bookmarks from any machine and synchronize it. You also can view the bookmarks online at x-marks site. The add-on is available for IE and Safari too.

3. Online storage

x-Drive was one of the popular online free storage service provider, but have been closed recently after being acquired by AOL. There are more players out there, one is Adobe Acrobat. By creating an account on Adobe, you can get a multitude of features like word processor, free storage, desktop sharing, and file sharing using the Adobe Acrobat AIR application that gets automatically installed along with Adobe Acrobat 9.

4. Calendar

Online calendars are a best place to track your appointments. Google Calendar offers facilities like sending SMS reminder, sending email reminders, XML import and sharing calendar with friends. If you are using Thunderbird with Lightning (http://www.mozilla.org/projects/calendar/lightning/) plug-in, you can add the Google calendar to your Thunderbird. But you should be online while using this feature. For MS Outlook, Google is providing a free synchronization application (http://www.google.com/support/calendar/bin/answer.py?answer=98563) that will synchronize the GCal data to Outlook. Additionally, if you own a Nokia Mobile, you can synchronize the data with all these services using PC Suite.


Read more!