News Feed
Sections

News Archive
feed this:

ProDevTips.com:
CRUD with PHP Doctrine
August 25, 2008 @ 11:19:37

In a fourth part of their series looking at using Doctrine in PHP, the ProDevTips blog moves on to implementing it in a typical CRUD interface.

They create the links between the tables (two hasOne relationships), a search() method to find the destinations for a user, a sorting method to multisort based on the subkeys of the value passed in and the methods for updating the information already in the database.

That's it for now, feel free to download this tiny Smarty and Doctrine framework. Note that for this to work you have to put Smarty and Doctrine in the lib folder. There is a login interface involved, just click submit there without entering anything. There is also an SQL file in the trip_selector folder if you want to try this out with some test data (same as in the picture above).
0 comments voice your opinion now!
doctrine crud relationship update create retrieve delete



Symfony Blog:
Updates to the Plugin Website/Resources
August 11, 2008 @ 08:45:08

Two new posts on the Symfony blog talk about improvements to the framework's plugin system (as found in recent releases).

A week after the release of the new plugin system, a lot of activity has taken place. More than 30 plugins were created, and 51 new releases were published on 27 different plugins. Based on the feedback I have received from the community, I have made some tweaks to the system.

These tweaks include a newly designed homepage, the inclusion of RSS feeds and a special URL to view the older wiki documentation for some plugins.

The second post describes more enhancements based on other feedback (on the previous post). Updates based on this information include an new "overview" field to describe the plugin, a download of the Markdown syntax to make the documentation conversion easier and a "stric mode" validation if you upload a PEAR package.

0 comments voice your opinion now!
symfony framework website update feedback functionality


Christopher Jones' Blog:
It's feature freeze time for PHP 5.3
July 25, 2008 @ 09:31:10

In a new blog post Christopher Jones mentions the feature freeze that's happened for the PHP 5.3 series including the Oracle support through the OCI8 extension.

The volume of commits has recently increased in anticipation of today's feature freeze deadline. I expect the Alpha release time frame will also see high activity. Eventually, increased tightening of criteria for patch acceptance will bring us to Beta and then Production releases.

Features included in this most recent extension version include an allowance for external authentication, a change to let Reflection correctly show function/method arguments, an increase on the oci8.default_prefetch setting and correctly defining the SQLT_BDOUBLE and SQLT_BFLOAT constants.

Keep an eye out for a release on PECL with these new updates soon.

0 comments voice your opinion now!
php5 feature freeze oci8 driver extension pecl update enhance


Havard Eide's Blog:
SplObjectStorage
July 23, 2008 @ 08:47:44

Havard Eide has a recent post to his blog that looks at a part of the Standard PHP Library (SPL) that can be used with objects to store them for later use - SplObjectStorage.

In this post I will look at SplObjectStorage: a container that allows to store objects uniquely without the need to compare them one by one.

He lets the code to most of the talking, showing how to do the standard operations for a data store - adding objects (both unique and the same), updating objects in the store, checking to see if an object is already added and removing an object from storage.

0 comments voice your opinion now!
splobjectstorage add unique update check data storage object remove


Alessandro Crugnola's Blog:
AMFPHP issue referencing ByteArray
July 11, 2008 @ 08:47:43

In trying to get PHP, AMFPHP and Flash to cooperate together with ByteArray information, Alessandro Crugnola came across some issues:

Recently I made some test in AMFPHP sending an retrieving ByteArray to be stored in a mysql blob field. But suddenly I encounter a problem when I was trying to return an array of ByteArrays and I could not find out the reason flash continued to show me [an] error.

He includes the offending code on both the PHP and ActionScript side and his ultimate solution - a problem with AMFPHP's serializer. He's even made a patch file if you're seeing the same issue and want to bring your install up to date.

0 comments voice your opinion now!
amfphp flash bytearray serializer error patch update


Lukas Smith's Blog:
Small emPHPower update
July 09, 2008 @ 07:57:29

Lukas Smith has posted a quick emPHPower update to his blog today concerning recent thoughts and progress he's made on the initiative.

I hope this all will lead to a few people to step up and really start getting involved deeply in emPHPower. Aside from this Sebastian has handed in a BOF session on emPHPower for OSCON. I hope this one will work out.

A spot has also been set aside at the upcoming Zend/PHP Conference & Expo's unconference for someone to speak on the subject and to get a feel for things from the business perspective. Lukas has also been working up more details about the effort and has set up a mailing list to help with collaboration.

0 comments voice your opinion now!
emphpower update mailing list wiki conference oscon2008 zendcon2008 unconference


Internet Super Hero Blog:
PDO_MYSQLND Updates
July 07, 2008 @ 11:19:07

The Internet Super Hero blog has posted a series of updates on the state of the PDO setup for the MySQL native driver:

You can find out more about the project from its page on the MySQL website.

0 comments voice your opinion now!
pdo pdomysqldn mysqlnd update


Debuggable Blog:
Better array syntax for PHP Here's your chance to weigh in
June 10, 2008 @ 12:07:03

On the Debuggable blog, Nate Abele has posted a request for opinions on a topic that's been lighting up the PHP mailing lists (and other social media) lately - the alternative array syntax for PHP.

Well, there's a patch available, but 2/3 of the active PHP committers (who participated in the vote) voted against its inclusion. However, of the end-users participating in the discussion, 17 out of 20 voted in favor. Shortly before the voting was concluded, there was a call for some user-land input, so I decided to humbly submit my two pennies.

His comments support the idea, noting that arrays are "our bread and butter" for the language and should be updated to make them even easier to use (and more in line with the declarations of other variable types).

0 comments voice your opinion now!
array syntax declare update alternative opinion


Matthew Weier O'Phinney's Blog:
ZF Subversion Reorganization
May 23, 2008 @ 09:35:59

If you're using the subversion checkouts of the Zend Framework, Matthew Weier O'Phinney recommends you update your checked out copy to bring it up to sync with the reorganization they've just finished.

We just completed a reorganization of our subversion repository. The reorganization was necessary due to changes we are introducting both in our proposal system as well as project architecture. Specifically, we are introducing a new library, our 'Extras' library, which will contain contributions that are not officially supported by Zend but which still require successful completion of our proposal process. Additionally, we are merging our Laboratory repository.

This page on the Zend Framework website gives the new structure along with a list of key changes and an example of how to switch our your current checkout with this new version.

0 comments voice your opinion now!
zendframework reorganization extras library svn update checkout


PHP-GTK Community Site:
PHP-GTK2 Documentation update
May 22, 2008 @ 10:23:45

Several updates have been made to the documentation for the PHP-GTK project including a version of the manual.

From Leon Pegg on the PHP-GTK Community site:

I have been working on the php-gtk documentation the last few weeks. I finally have an updated version of the manual. Unfortunately its not on the main site gtk.php.net, so I have uploaded it here: leonpegg.com/php-gtk-doc

The manual includes tutorials, the actual reference guide and an appendix of details on terms/other information.

0 comments voice your opinion now!
phpgtk2 documentation update manual



Community Events











Don't see your event here?
Let us know!


book cakephp release ajax job zendframework mysql security PHP5 package PEAR framework releases zend database example code conference developer application

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework