Skip to content

PHP Zone | Community for PHP users and developers
Syndicate content
Updated: 3 hours 55 min ago

Practical PHP Patterns: Pessimistic Offline Lock

Thu, 08/19/2010 - 11:11
In this series, we are analyzing concurrency patterns, a way to allow multiple users to access application data without accepting conflicting changes which derive from stale data (like two people submitting the same editing form).
Categories: Communities

Daily Dose - iPad Rival Running Chrome OS Arriving in November?

Thu, 08/19/2010 - 05:00
Several reports are saying that the Chrome operating system will be here by the end of November.  That's because on November 26th, Google plans to release a Chrome OS-based tablet to compete with the iPad's resounding success.  Google has recruited industry heavyweights HTC and Verizon to help produce this product.Solaris Veteran Leaves Oracle
Categories: Communities

PHP Code, Setup and Demo of Jaxl boshchat application

Wed, 08/18/2010 - 13:00
Jaxl 2.0 bosh support allow web developers to write real time web applications within minutes, without having any pre-requisite knowledge about the XMPP protocol itself. In this blog post, I will walk you through setup and demo of an XMPP based web chat application using Jaxl library. Get the code Follow the following steps to download and install this sample web application on your...
Categories: Communities

Daily Dose - Your Passwords Need to be Longer

Wed, 08/18/2010 - 05:00
Due to the increasing performance unlocked by GPUs, password cracking software will soon be able to discover your 7-10 character password without a problem (special symbols won't make a difference).  Richard Boyd, from the Georgia Tech Research Institute, told the BBC that today's GPUs have processing power that equals the supercomputers from ten years ago.  Security researchers recommend that...
Categories: Communities

Practical PHP Patterns: Optimistic Offline Lock

Tue, 08/17/2010 - 12:19
In this series we are now entering the realm of concurrency, an option which adds complexity to an application as many different threads of execution are accessing the state storage at the same time.There is no native multithreading support in PHP (every script gets its own isolated process), but still concurrency can easily become an issue: multiple clients from all over the world continuosly...
Categories: Communities

Growing Faith in Open Source, But Few Give Back

Tue, 08/17/2010 - 05:00
The days of enterprises fearing what they don't have to pay for are coming to an end.  Two recent surveys on open source adoption show that open source solutions are trusted and utilized by a large number of enterprises.  One survey found that a majority of its respondents used OSS in some form, while the other indicates that many enterprises are choosing open source because of the quality, not...
Categories: Communities

Daily Dose - Vim Increases Vigor

Tue, 08/17/2010 - 05:00
Two years have passed since the release of Vim 7.2, and today version 7.3 is here with a few improvements, but nothing major.  Vim has remained a consistently solid editor with little need for more features.  However, this release does feature new interfaces for Lua, Python 3, and conceal text.  There is also a new persistent undo, an undo for reload, and Blowfish encryption.HTML5 Rocks On
Categories: Communities

The shortest guide to character sets you'll ever read

Mon, 08/16/2010 - 14:44
When the "Oracle written in cyrillic" homographic attackprank spread on the Internet, it seemed for a moment that Google had removed Oracle from its index. It was a simple trick, accomplished with Unicode Cyrillic characters that were the exact copy of Latin ones.
Categories: Communities

Daily Dose - Google to Oracle: 'Bring it'

Mon, 08/16/2010 - 05:00
In a statement sent out to the media late last week, Google announced its intentions to defend open source and protect Android (and the Dalvik JVM) against the "baseless" suit that Oracle has brought against it.  Google has called Oracle's infringement case an "attack" against both themselves, and the open source Java community.  Google says it will "strongly defend...
Categories: Communities

Daily Dose - Leaked Memo Suggests an End to OpenSolaris

Sat, 08/14/2010 - 05:00
A blogger has leaked what is believed to be an internal Oracle memo about the future of OpenSolaris and Solaris 11.  The key quote from the memo states: "We will not release any other binary distributions, such as nightly or bi-weekly builds of Solaris binaries, or an OpenSolaris 2010.05 or later distribution.
Categories: Communities

Daily Dose - Schwartz Gets a New Job

Fri, 08/13/2010 - 05:00
He warned us about Oracle.  Now Johnathan Schwartz has washed his hands of it and gotten his first job after leaving his last position as the CEO of Sun Microsystems.  Schwartz has joined the board of Taleo, a vendor of cloud-based talent management solutions.  Schwartz might have gotten the nod because of his early cloud work with Sun.  Apple Patches JailbreakMe Hole; Jailbreakers Make Their...
Categories: Communities

Zend Examples: GET Parameters Default Value

Thu, 08/12/2010 - 12:54
PHP Style As you may know in PHP you can access everything in the request uri by accessing the global $_GET array. If there is something like that in the browser’s address field: www.example.com/index.php?controller=index&action=test, you can simply get the values by that:References Reference:  Zend Examples: GET Parameters Default Value ...
Categories: Communities

Practical PHP Patterns: Data Transfer Object

Thu, 08/12/2010 - 12:25
Information can travel in very different ways between the parts of an applications, which could be tricky when these parts are distributed on different tiers, or times. The Data Transfer Object pattern prescribes to use a first-class citizen like a class to model the data used in the communication.
Categories: Communities

Do Developers Have Enough Time to Keep Their Skills Up-To-Date?

Thu, 08/12/2010 - 05:00
Over half of the developers polled in a recent survey by Embarcadero Technologies say "no," they don't have enough time to learn that new language, or understand that new technology.  On the other hand, developers are getting more money, but are the hidden costs really worth it?
Categories: Communities

Daily Dose - First Trojan Pierces the Walls of Android

Thu, 08/12/2010 - 05:00
According to a security firm, the first Trojan virus has infected Android phones this month.  Once the normal looking application installs, it starts texting premium rate phone numbers and criminals actually end up collecting the charges to the victims' accounts.  So far the virus is confined to Russia.First International Agile Certification
Categories: Communities

How to Use Flash for File Upload with PHP

Wed, 08/11/2010 - 09:34
User contributed content; it is core to the web.  From Flickr to YouTube, uploading your own content in order to share it to a broader audience is an activity that happens around the world, around the clock.  The task is not without its complexities however, and it seems to be done different ways for every site - sometimes with more success than others. 
Categories: Communities

Daily Dose - Juicy Details About Scala 2.9

Wed, 08/11/2010 - 05:00
It seems that the Scala community is perfectly willing to convert their projects to the new 2.8 binaries (Scala 2.8, released last month, was not binary compatible with 2.7).  Over 50% of more than 500 projects have already been converted.  After a bugfix release, the developers of Scala intend to release version 2.9 in December 2010 or January 2011.  A major new feature of 2.9 will be...
Categories: Communities

CouchDB Ready For Android

Tue, 08/10/2010 - 15:54
Having finished integrating Apache CouchDB with Palm's WebOS, Couchio moved on to the Android platform, which is now compatible with web-based and native CouchDB apps.  Couch Apps can leverage peer-to-peer synchronization and several other advantages from being a non-relational database.  DZone talked to Chris Anderson, a co-founder of Couchio and the "Vice President of Hair", about...
Categories: Communities

Death to Best Practices

Tue, 08/10/2010 - 12:47
Can we please put the whole term “Best Practices” to rest now? Apparently, according to this link (forwarded to me by John Dietz, thanks!), the very place where it originated (or was best popularized, depending on your interpretation of history) has now seen the whole concept basically debunked:References Reference:  Death to Best Practices ...
Categories: Communities

Practical PHP Patterns: Remote Facade

Tue, 08/10/2010 - 09:45
The Remote Facade pattern is a specialization of the Facade one which abstracts the interaction with a remote service (which is executed out of the PHP process, or out of the current machine).
Categories: Communities