Tag Archives: AJAX

What the Open Source Barometer tells us

Alfresco, a company that publishes a open source ECM, does also feature a Open Source Barometer over at http://www.opensourcebarometer.org. According to their own saying; “The Alfresco Open Source Barometer survey is the largest open source enterprise infrastructure/stack survey. The third global survey covers data provided by over 25,000 of Alfresco’s 74,000 community members during the period of April to September 2008. “.

Since the Barometer shows us a door into the Enterprise open source usage what can we learn from it?

For Operating System we see that RedHat and Ubuntu are the clear leaders for Linux deployment. Look at how much Ubuntu has caught up. Ubuntu is not as long in the business as RedHat and I hear a lot of people taking on the Ubuntu Server. Looks like RedHat has to be on the look out. A obvious thing is that most will develop and test on Windows, but will deploy on Linux.

We see that Tomcat is still the most used Application Server, as it is our choice of server with Razuna, our very own open source Digital Asset Management, with over 67% compared to JBoss with 17%. The choice of database is with most the famous MySQL, followed by Oracle.

Thought that with the recent 10 million download for OpenOffice we see that MS Office is still the most used business application and despite the growing numbers of XEN marketing VMware is still the choice for most businesses to deploy Virtualization on.

One thing that really stood out for me is that Open Source is really at the “Long Tail”, that most businesses will go with a mixed stack (Open Source and proprietary software) and that Microsoft will have a impact on the Enterprise world and the Open Source community with their aggressive partnership. One thing I can tell from my own experience at a recent BizSpark introduction event is that MS will make inroads with a lot of businesses and startups.

A big thing for RIA and Adobe Flex is that 24% of the 25000 questioned community members take to Flex, that is second after 52% on Ajax and way ahead of the 8% of MS Silverlight.

Open Source Barometer III (Nov08)

View SlideShare presentation or Upload your own. (tags: alfresco open)
Comments { 7 }

Write strict HTML code with ColdFusion 8 and using AJAX

The other day I was struggling with a combination of a form with AJAX parts (using the new cfdiv) in ColdFusion 8. After going trough the code a couple of times I could not see what was wrong and that drove me almost nuts. Here is the code I was having problems with (trimmed for this post):

<table>
<cfform name=”mycfform1″ >
<cfdiv bind=”url:test.cfm” id=”test” tagname=”div”>
</cfdiv>
<cfinput type=”text” name=”text2″/>
<cfinput type=”submit” name=”submit”>
</table>
</cfform>

and this is the test.cfm content:

<input type=”text” name=”test” />

The problem here is that the value of the text field within the <cfdiv> are not submitted at all. How come, you might ask? Apparently it is such that you will need to write “proper” HTML code when you use ColdFusion 8 along with the new AJAX tags. Thus, the above code is male formed, since the nested tags are not closing properly. Actually, just a little thing, but ending </table> and </cfform> are not correctly placed. The working code should be:

<table>
<cfform name=”mycfform1″ >
<cfdiv bind=”url:test.cfm” id=”test” tagname=”div”>
</cfdiv>
<cfinput type=”text” name=”text2″/>
<cfinput type=”submit” name=”submit”>
</cfform> <—–
</table> <—–

I have talked to Ashwin Mathew (from Adobe) about this and here is what he had to say on this issue:

“The table and form tags are not nested properly. When the browser gets this bit of code, it tries to reform it to make a valid HTML DOM tree for rendering, and, depending on the browser implementation, will open and close extra table and form tags to get a valid HTML DOM.

As a result, the form may no longer have any child input fields, since they may have been nested in another form tag inserted by the browser. Unfortunately, I’m not sure that there is much that can be done about this from the CF side of things – developers will have to be aware that they must nest tags properly.”

On the question why this is more strict in ColdFusion 8 then it is/was in ColdFusion 7 he said that “CF7 is easier on it since there was no AJAX magic being weaved in between. With AJAX functionality you do need to be a little more aware of the structure of your HTML”.

Comments { 2 }

Spry 1.3 released featuring Effects

Haven’t seen a post about this, so I am posting this here now. Adobe released Spry 1.3 now at Adobe Labs. They have now added the “Effects” to Spry in this release. You can see some demos of the Effects right here.

Together with the easy syntax to build Ajax applications and the effects now there is no excuse anymore not to use Spry :-)

Comments { 19 }