November 30, 2006

T2 Tea - Awarded Interactive Media Awards “Best in class”

You will find other articles relevant to this document in these sections:
Cameron Manderson @ 10:26 pm

The website I have been working on with Carbon+ for the last couple of months has just been awarded the international Interactive Media Award - Best in class:

The T2 Website has won the Interactive Media Awards “Best in Class” !

The Best in Class award is the highest honour bestowed by the Interactive Media Awards. It represents the very best in planning, execution and overall professionalism. In order to win this award level, your site had to successfully pass through our comprehensive judging process, achieving very high marks in each of our judging criteria - an achievement only a fraction of sites in the IMA competition earn each year.

I would be interested to see what other awards it picks up in Australia!

November 29, 2006

Working with dates in PHP and MySQL

You will find other articles relevant to this document in these sections:
Richard Lee @ 9:57 am

Here’s some quick examples of a few different ways you can work with  date/ or datetime fields rom a MySQL database. Hope you find them helpful :)
Formatting date with MySQL for output:

$query = mysql_query("SELECT DATE_FORMAT(event_date, '%d/%m/%y') AS formatted_date FROM events");
 
$row = mysql_fetch_array($query);
 
echo $row['formatted_date'];
// output: 20/11/06

Retrieving a date from MySQL with the intention of using it for calculation (timestamp conversion):

$query = mysql_query("SELECT UNIX_TIMESTAMP(event_date) AS timestamp FROM events");
 
$timestamp = mysql_fetch_array($query);
 
echo $row['timestamp'];
// output: 20061120091528 i.e. 2006-11-20 09:15:28

Formatting a date string with PHP for output:

$query = mysql_query("SELECT event_date FROM events");
 
$row = mysql_fetch_array($query);
 
$formatted_date = date('d m y', strtotime($row['event_date']));
 
echo $formatted_date;
 
// output: 20/11/06

Converting formatted date strting for calculation in PHP (timestamp conversion):

$query = mysql_query("SELECT DATE_FORMAT(event_date, '%d/%m/%y') AS formatted_date FROM events");
 
$row = mysql_fetch_array($query);
 
echo 'Formatted date: '.$row['formatted_date'];
 
//output : 20/11/06
 
$timestamp = strtotime($row['formatted_date']));
 
echo 'Timestamp '.$timestamp;
 
// output: 20061120091528 (i.e. 2006-11-20 09:15:28)

November 27, 2006

Ruby on rails

You will find other articles relevant to this document in these sections:
Cameron Manderson @ 7:33 am

I have been interested in starting some Ruby on Rails for some time and this article makes a good read.

Java SE 6 enhancements

You will find other articles relevant to this document in these sections:
Cameron Manderson @ 7:26 am

Have a read on the BuilderAU on the Java SE6 core enhancements overview.

November 22, 2006

Zend Certifications for PHP5

You will find other articles relevant to this document in these sections:
Cameron Manderson @ 10:38 pm

I have recently been reading my subscription of php|architect and been reading about the new Zend PHP5 certifications. As I have been recently revisiting other areas of development (Spring/Hibernate etc) I have decided to gain my certification as a Zend Certified Engineer in PHP5 (or a ZCE) as a way to feel that I have accomplished a recognised firm understanding before seeking new areas of research/certifications. Gaining a broad recognition into different technologies is required to have the edge these days (see my recent post on Developer skills outlook for 2007 and beyond) and being able to play around with Java/PHP/C#/AS3 etc is the aim.
In preperation I have ordered the php|architect’s Zend Certification Study Guide and have a few weeks before I receive it. Just for a play I jumped on the PHP Education - Zend PHP Certification Self Test and it tells me I am ready to go for the certification test with a quick score of 6/8 (oops, probably should have probably taken a few more time to read the questions). php|architect also offers mock tests that will help prepare you before sitting the real exam which apparently are extremely similar to the real format and is used to help identify any other areas you need to focus on [Webservices/XML or whichever].
Some of the other boys at work are getting the Adobe Certification (I think is called ACE) in Flash Design/Development (good luck to Sacha, Marcus, Andy and Simon in their upcoming exams!). Having a play around with ActionScript2/3 has been fun and we all have a research job at the moment in Flex2, of which I am creating a flexible format XML/XSD/DTD to power the presentation/connectivity. Having guys focus strongly on interface design and construction while coupling it with a powerful developer team implementing SOA through different (appropriate) technologies is definately a huge area of interest.

Advanced PHP Solutions with Zeev Suraski

You will find other articles relevant to this document in these sections:
Cameron Manderson @ 10:09 pm

Appearing on Zend Events:

PHP continues to enjoy phenomenal growth becoming the de-facto standard for enterprise Web applications. With the introduction of PHP 5, PHP has reached new levels of support for Web Services, XML and Service Oriented Architectures (SOA) meeting the robust demands of the enterprise environment. Learn how you can achieve scalability, performance, availability and reliability for your enterprise-class PHP applications with advanced PHP solutions from Zend Technologies.
Featured Speaker:

  • Zeev Suraski, Co-Founder and Chief Technology Officer, Zend Technologies

View Webcast

Microsoft and Zend Technologies announce Technical Collaboration

You will find other articles relevant to this document in these sections:
Cameron Manderson @ 10:06 pm

Announced at the end of October 2006 -

Microsoft Corp. and Zend Technologies Inc. today announced a technical collaboration to enhance the experience of running the PHP scripting language on Windows Server® 2003. The parties expect to extend the collaboration to the next version of Windows Server, code-named “Longhorn.” The resulting technology enhancements and ongoing interaction with the PHP community is expected to enable customers to take advantage of the Windows Server platform. The cooperative effort seeks to provide customers with richer functionality and better integration, resulting in improved performance and increased reliability.

Click here for the article

November 20, 2006

Search Engines Unite on Sitemap Protocol

You will find other articles relevant to this document in these sections:
Richard Lee @ 9:46 am

Google, Yahoo and Microsoft have agreed on a unified system for submitting web pages to search engines. Called “Sitemaps” funnily enough, the Sitemaps protocol will be based on Google Sitemaps which will be  upgraded to Sitmaps 0.9 to reflect the now unified system.

Windows Live users will be able to submit their webpages to Sitemaps through the Live Search Submit page, and Yahoo users can use Yahoo Site Explorer. Existing Google sitemap users will not have to change anything ;)

For more info checkout the Sitemaps.org website

November 9, 2006

Vista is coming…

You will find other articles relevant to this document in these sections:
Richard Lee @ 5:00 pm

Today Microsoft announced that Windows Vista will be available as of January 2007.

Vista will be available in 4 different flavours; Vista Basic, Vista Premium,  Vista Business and Vista Ultimate. Microsoft will also release 2 other versions at a later date to be announced: Vista Starter -  for first time PC users -  and Vista Enterprise which probably the server version (?)

November 8, 2006

Adobe FDS2 - US$20K

You will find other articles relevant to this document in these sections:
Cameron Manderson @ 10:13 am

Looking through the Adobe website I came across the pricing structure for the Flex Data Services 2 framework, the enterprise edition costing $20K per CPU. A budget that would be un-achievable to most, and even in a high-load website, you will most likely have to setup a clustered environment, meaning that you will most likely be up for more than one licence. Ouch!
So where does that leave us? We can consider the other technologies that are available, including XML and WebServices. Both work in plain text XML which works like a dream for small data transfer, but you quickly consider the amount of formatting and XML document places around the data and often the formatting takes up a lot of the file size, bloating it out. (This may be remedied slightly through GZip compression over HTTP, but I need to investigate…).

So if we still want Flash Remoting without the price tag where do we turn? - Open Source

Quoting a recent article I read I have often heard people claim “Companies do not invest into open source technologies” which I think is pretty wrong. A quote obtained from a recent article with Rasmum Lerdorf (a developer of open source technologies - PHP) when asked about ‘The Open Source movement is still portrayed by many as “anarchistic” and some kind of “threat to society”‘ :

As far as being mainstream, the product of this “movement” is most definitely mainstream. The “movement” built the Internet as we know it today. It built the TCP/IP stacks used in most of the operating systems people use (yes, even Windows). It built the most popular Web server in the world, along with the DNS and MTA systems that make the Internet tick. Heck, if you go back a bit, it built the entire industry. The first operating systems were all open source, because that was the only sane way to do things. You could not sell someone a big mainframe without providing the source to the brains of the thing. It was only later on that the concept of not providing the source code was introduced.

But I guess your real question is what I think of Microsoft’s attempt to convince the world that large groups of people collaborating to solve problems somehow threatens the very fabric of the society we live in. And I don’t think there are “many” people making this claim, as it is complete crap — I would like to think that the world is a good place and not full of people who would propagate such a ridiculous idea. Let’s put an end to all meetings of large groups of people while we are at it. They might be evil anarchists out to destroy the world.

In the end, mainstream acceptance is not the goal. The goal for most people who work on free software and open source projects is the technology itself. It is building a tool that solves the problem. It is not about ideology for most of us, and as such, mainstream acceptance only involves mainstream use of the technology. This has been achieved on many fronts already, with many more still to come.

Getting past the whole Corporate versus Community conversation and moving on;

PHP as a thin layer provides great database layering, with a nice framework AMF-PHP which could handle basic output to flex. This framework works great, but still has around 40-50ms class instantiation cost per request (which may be considered pretty low, and can be tuned with APC). Making the move to a JEE environment means that we can handle database queries through a JDBC environment, bringing JDBC equivalent database into PHP means more overhead, and unless you go that path it makes it more difficult to make your whole project scalable. But discussing PHP and JEE performance is not the point of this article, we are talking about alternatives.
OpenAMF is a JEE alternate to the Flash Data Services offered by Adobe. I found a nice little introduction to openAMF with this article. Although a slightly bloated introduction regarding JEE, PHP and ActionScript it is still relevant to conversations we have been starting on this blog, such as “Where does PHP really sit?

One of the cumbersome of using Java is the relatively complex setup of Java applications, with different steps based on the container. J2EE helps on this, exposing a more standard framework to follow for web developers. Also Java is not a common shared hosting offer, and this make sense because the power of java and his multithread run shines in big applications or when a lot of traffic is expected, due also to the live of servlets in memory. Usually little-medium applications fits fine in more straightforward languages like PHP. So freelancers developers not involved in big corporations are not usually faced to Java, and it’s a shame, because it’s a great language. But the grow of ActionScript from AS1 to AS2 force coders to write in a more Java-like (or should say OOP-like) way, so Java seems more familiar to them. And AS3 will reinforce this being a really truly class based language (in fact, not compatible with previous versions of the Flash Player) All of this make the jump to Java less heavy for actionscript coders, at least with Java in relationship with Flash.

Being Java a wide field, probably Flash developers will be faced first in data exchange with Java. This could be done in many faces, in example name/value pairs could be solved with some jsp file, but the really power of data exchange is exposed trough Flash Remoting. Even java can map ActionScript classes to Java classes whit out problem, something that arises as a problem in the first implementations of other Remoting libraries like amfphp (last versions solve this) Also since the gateway runs as a servlet, is really fast in doing his work (except the first time of course).

You  can read more about AMF-PHP here for using PHP or take a look at JEE alternative OpenAMF.

« Previous PageNext Page »