Wednesday, August 6, 2008

New CF Bloggers

Few members of the coldfusion team have started blogging.

 

Jayesh - http://askjayvir.blogspot.com/ 

 

Sandeep - http://sandeepp.org/blog/

 

 

Friday, May 30, 2008

ColdFusion Exchange

ColdFusion exchange is a place to share/download hundreds of easy-to-install extensions, time-saving functions, code and more.

Since the CF Exchange was not being moderated, For quite some time now, this had been quiet. I have become one of the moderators and I can assure you that this is going to be hectic once again.

Go ahead and upload the exchange.

 

http://www.adobe.com/cfusion/exchange/index.cfm?from=1&event=productHome&s=5&o=desc&exc=1

 

 

Friday, May 9, 2008

MXNA is now Adobe Feeds...

The MXNA has now been replaces with Adobe Feeds.

It is up and running on faster servers, ColdFusion 8.0.1.

 

Check it out here - http://feeds.adobe.com/

 

 

Monday, April 21, 2008

Populate and Merge multiple pdf forms

If you need to populate multiple PDF forms and then merge them together... Here is how to do that.

 

<cfset sourceform1 = "#ExpandPath('formsamples/expense_claim_form1.pdf')#">

<cfset sourceform2 = "#ExpandPath('formsamples/expense_claim_form2.pdf')#">
 
<cfset resultfile1 = "#ExpandPath('result1.pdf')#">
<cfset resultfile2 = "#ExpandPath('result2.pdf')#">
 
<cfset flatfile1 = "#ExpandPath('flat1.pdf')#">
<cfset flatfile2 = "#ExpandPath('flat2.pdf')#">
 
<cfset finalresultfile = "#ExpandPath('finalresult.pdf')#">
 
<cfset myname1 = "source_test1">
<cfset myempcode1 = "source_code1">
<cfset mylocation1 = "source_loc1">
<cfset mymgrname1 = "source_mgr1">
<cfset mymgremail1 = "source1@email.com">
 
<cfset myname2 = "source_test2">
<cfset myempcode2 = "source_code2">
<cfset mylocation2 = "source_loc2">
<cfset mymgrname2 = "source_mgr2">
<cfset mymgremail2 = "source2@email.com">
<!--- Fill up the pdf form1 ---> 
<cfpdfform source= "#sourceform1#" action="populate" destination="#resultfile1#" overwrite="true">
 <cfpdfsubform name="form1">
  <cfpdfsubform name="expense">
   <cfpdfformparam name="name" value="#myname#">
   <cfpdfformparam name="empcode" value="#myempcode#">
   <cfpdfformparam name="location" value="#mylocation#">
   <cfpdfformparam name="mgrname" value="#mymgrname#">
   <cfpdfformparam name="mgremail" value="#mymgremail#">
  </cfpdfsubform>
 </cfpdfsubform>
</cfpdfform>
 
<!--- Fill up the pdf form2 ---> 
<cfpdfform source= "#sourceform2#" action="populate" destination="#resultfile2#" overwrite="true">
 <cfpdfsubform name="form1">
  <cfpdfsubform name="expense">
   <cfpdfformparam name="name" value="#myname#">
   <cfpdfformparam name="empcode" value="#myempcode#">
   <cfpdfformparam name="location" value="#mylocation#">
   <cfpdfformparam name="mgrname" value="#mymgrname#">
   <cfpdfformparam name="mgremail" value="#mymgremail#">
  </cfpdfsubform>
 </cfpdfsubform>
</cfpdfform>
 
 
<!--- Flatten the filled-up pdf forms first. --->
<cfpdf action="write" source="#resultfile1#" destination="#flatfile1#" flatten="yes" overwrite="true">
<cfpdf action="write" source="#resultfile2#" destination="#flatfile2#" flatten="yes" overwrite="true">
 
<!--- Now merge the flattened forms. ---> 
<cfpdf action="merge" source="#flatfile1#,#flatfile2#" destination="#finalresultfile#" overwrite="true">
 
<cfoutput>Done...</cfoutput>

 


Friday, April 18, 2008

ColdFusion 8.0.1 Japanese is Live!!!

Adobe has released the Japanese version of ColdFusion 8.0.1
 
You can download it from here...
 
 
 
 

Thursday, April 10, 2008

AMP Goes Live!

 

Announcing the new Adobe Media Player!

 

Adobe Media Player (AMP) is a next-generation desktop media player and management application. It provides high quality video playback of streamed, downloaded, or locally stored Internet TV shows and video podcasts.

 

Users can subscribe to Internet television shows and other online video content, have them download automatically in the background, and later view them on demand. AMP's user interface optimizes the user experience, allowing users to easily enjoy finding and viewing their favorite shows.

 

Download AMP today, play with it, and then tell your friends about this exciting new product.

 

 

Below are some of the key things that you and your friends and family will enjoy:

 

- All of your favorite content, all in one place. Create your own personalized catalog of television shows, movies, podcasts – even include videos from your local hard drive.

- Discover new content. Adobe Media Player features a broad catalog of shows from the leading media companies and networks, as well as independent producers.

- Watch what you want, when you want – anytime, anywhere. Adobe Media Player supports both online and offline viewing.

- High-quality audio and video. HD-quality video is supported in Adobe Media Player, even at full-screen resolutions.

- Simple user interface. Adobe Media Player is designed to be intuitive and easy to use.

- Let content come to you.  Adobe Media Player automatically downloads new episodes of shows or podcasts that you subscribe to.

 

http://get.adobe.com/amp/ 

 

  

Friday, April 4, 2008

ColdFusion 8.0.1 is out!

The ColdFusion 8.0.1 bits are live. The updater codenamed as "Gemini" can be downloaded immediately from
 
 
ColdFusion 8 Update 1 (CF 8.0.1) has some minor bug fixes and it also adds support for new operating systems(including 64bit) and some extended functionality (attributeCollection).
 
 
 
 

Monday, February 18, 2008

what is flex?

A simple definition to "what is flex" would be: Flex is a way to make/create SWF files!
 
Flex is a way to create SWF files that run in Adobe Flash Player. It is a development paradigm that compiles to SWF. It really is that simple but often we make the definition much harder. Just like Flash can create SWF files, so can Flex, but the way you develop is completely different.
 
Flex is built for developers and not for animators; it has been written for software developers and the paradigm matches the development methodology you already know. If you know Java, C, C++, C#, Delphi, VB, PHP, ColdFusion, Python, Ruby, you can learn Flex with little effort. The goal when Flex was created was to make a development paradigm that developers could learn easily matching the methodology they already know yet create SWF files for Flash Player (and now AIR). Flex has classes, components, a compiler, a debugger, class libraries, and uses XML (MXML) for declarative markup of components. The ActionScript programming language is based on ECMAScript 4 (the language standard behind JavaScript) and has full support for the ECMA XML scripting standard E4X. It also has most of the UI components that you already use ( like button, list, datagrid, combobox, and tree) but it also supports containers like HBox, VBox, TabNavigator, TitleWindow and many others. If you have written software before you can learn Flex easily. Better still is that Flex is compatible with all HTTP servers, version control systems, and any server side programming language, so the knowledge you have of servlets, php, ASP.net, or JSP is really handy. Flex just lets you program the client side in a paradigm you already know and understand.
 
Flex is built for making applications... rich client side application behavior. It has not been built for making web pages, banner ads, or server side logic it has been built for creating client-side applications that run over the Internet talking to remote servers. Flex has been used to make some really great apps like Buzzword (Document Editor like Microsoft Word but in the web), Picnik (Photo Editor/Manager for touching up your best snapshots), Oracle Sales Prospector (An enterprise ERP application.) The real key is that these examples provide an application experience just like desktop software that run on the web (Adobe Flash Player) and on the desktop (Adobe AIR)

In summary, Flex is a development paradigm that allows you to write software for the web and desktop that many people can use compatibly today. It leverages the tools, servers, and development models that you already know and allows you to write the next generation of software compatibly.
 
Another definition would be: A development platform that is revolutionizing how the world writes and deploys software!

PDF output in XML format

Using ColdFusion 8 you can extract data from a PDF form and in XML format.

 

To get the output of a PDF file to an XML format, you can use the “read” action of the cfpdfform tag, as shown in the following example:

 

<cfset sourcefile = "#ExpandPath('../formsamples/UpdatedApplication.pdf')#">
<cfpdfform source="#sourcefile#" action="read" xmldata="mydata">
</cfpdfform>
<cfdump var = "#mydata#">

 

Advantages: To save disk space, you can delete the PDF file and maintain the data in a XML data file.

 

Keep the blank PDF form of the source file, you can use the populate action to regenerate the PDF file.

 

 

Tuesday, February 5, 2008

ColdFusion 9 Survey

Hi,
 
As a part of the research for Centaur (ColdFusion 9) , we have created these two surveys . 
 
Adobe ColdFusion Survey
 
Platform and Vendor Support
 
Please take some time out to fill up the surveys.
 
 
Thanks,
-ahamad 
 

Monday, December 3, 2007

ColdFusion 8 Cumulative Hot Fix 2 Available

The  second ColdFusion 8 cumulative hot fix pack has been released. This hot fix contains the 7 fixes from hot fix 1, plus 14 additional fixes.
 

Tuesday, October 2, 2007

Live update from Max by prayank

Prayank is doing some live blogging, putting up lot of pics, check it out here...

http://prayank.net/flexblog/

 

Friday, September 21, 2007

Using DDX for PDF manipulation in ColdFusion 8

While DDX is nothing new to Adobe, it is new to ColdFusion with the latest release of Adobe ColdFusion 8. DDX is an XML document definition that was originally created for Adobe LiveCycle Assembler and is used to describe documents.  DDX elements are used to represent PDF pages, comments, bookmarks, and styled text.

ColdFusion 8 ships with a scaled-down edition of the LiveCycle Assembler that can process a subset of the total DDX definition. In this article, we will look at some of the possibilities with DDX and how its addition to ColdFusion has given developers new tools and capabilities for creating and manipulating PDF documents....

Read the complete tutorial here...

http://www.stage.adobe.com/devnet/coldfusion/articles/ddx_pdf.html

 

Monday, September 17, 2007

Simple TOC example

I am posting here a simple Table Of Contents(TOC) example using cfpdf.
 
The DDX File
==========================
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
   <PDF result="Out1">
      <TableOfContents maxBookmarkLevel="infinite" bookmarkTitle="Table of Contents" includeInTOC="true">
      </TableOfContents>
      <PDF source="Doc1"/>
      <PDF source="Doc2"/>
   </PDF>
</DDX>
 
The CFM File
==========================
<cfset ddxfile = ExpandPath('ddxfiles/toc.ddx')>
<cfset sourcefile1 = ExpandPath('inputfiles/ddx_test1.pdf')>
<cfset sourcefile2 = ExpandPath('inputfiles/ddx_test2.pdf')>
<cfset destinationfile = ExpandPath('results/ddx_result-toc.pdf')>
 
<cfset inputStruct=StructNew()>
<cfset inputStruct.Doc1="#sourcefile1#">
<cfset inputStruct.Doc2="#sourcefile2#">
 
<cfset outputStruct=StructNew()>
<cfset outputStruct.Out1="#destinationfile#">
 
<cfpdf action="processddx" ddxfile="#ddxfile#" inputfiles="#inputStruct#" outputfiles="#outputStruct#" name="ddxVar">
 
<cfoutput>#ddxVar.Out1#</cfoutput>

Tuesday, September 11, 2007

CF8 Chf1 and CFMX 7.02 CHF3 are now available

 
The first hotfix for CF8 is out. 
 

CHF8000001 - http://www.adobe.com/go/kb402466

 

 

Also out is the  CFMX 7.02 CHF3

 

CHF7020003 - http://www.adobe.com/go/kb402465

 

 

Check it out...

 

Friday, September 7, 2007

JRun 4 Updater(beta)

Adobe is recruiting CF Customers for the beta program for the new JRun 4 Updater (updater 7).

Sign up here

https://prerelease.adobe.com/callout/default.html?callid=%7b046DAD6A-D2F3-47E5-A745-E1C9F38570DA%7d

This updater has

- hotfixes released since U6

- synchronizes with changes made in JRun for the ColdFusion 8 release.(updates to wsconfig to support 64-bit Solaris)

etc...

 

Thursday, August 23, 2007

CF 8 livedocs

Here is a link to CF 8 livedocs on the adobe home page.
 
 
 

Tuesday, August 7, 2007

Delete a file after cfpdf flatten...

Sometime back we had seen this post...
---------------------------------------
I've just downloaded ColdFusion 8 beta and have been playing with the cfpdf tag.
I've been using it to populate some interactive .pdfs and then "flatten" them so they're read-only.
The code looks something like this:
   
    <cfpdf action="write" source="#sourcefile#" destination="#destinationfile#" flatten="yes">

It all works fine except it appears that ColdFusion locks the destination file
and it can't be deleted or changed in any way until I restart the CF8
application server service.  Anyone have any experience working with cdpdf? 
Thanks in advance.
Clint
---------------------------------------
 
This has been fixed and the lock on the file has been released.

 
 

Creating PDF Forms eSeminar on August 9 - Free

This is a free seminar on Creating PDF Forms.
 
If you are interested...  Please register. 
 

Monday, August 6, 2007

toBinary Support for cfpdf var

toBinary(ob) now supports CFPDF variables too. It will return byte[] of the underline pdf.
 
Use case: If the user wants to save pdf in db as blob from the memory variable of CFPDF and needs byte[] out of the name variable.
 
Here is an example showing how it can be used.
 
<cfpdf action="read" source="source1.pdf" name="mypdf">
 
<!---
Convert to binary Data.
--->
<cfset binaryData = toBinary(mypdf)>
 
<cfdump var="#binaryData#">
 
<!---
Should still be able to Perform actions on original data.
--->
<cfpdf action="deletepages" pages="3" source="mypdf" name="newmypdf">
 
<cfpdf action="write" source="newmypdf" destination="desti.pdf" overwrite="yes">
 
<!---
code to write into the database and get it back.
--->
<!---
Convert the variable which you have got from the database back the binary to pdf file.
--->
<cfpdf action="write" source="binaryData" destination="desti-fromBinary.pdf" overwrite="yes">
 
<!---
Should be able to Perform actions on binary data.
--->
<cfpdf action="deletepages" pages="1-10" source="binaryData" name="newBinarymypdf">
 
<cfpdf action="write" source="newBinarymypdf" destination="desti-newBinary.pdf" overwrite="yes">
 
<cfoutput><br><br><br>Done...</cfoutput>