Charlie Key's Blog: Transmitting data between Flex and PHP using JSON
676917
On his Adobe blog, Charlie Key has a new post demonstrating how you can transmit data back and forth between a Flex application and PHP using JSON messages.   In almost every RIA data needAdobe Flex makes implementing this solution an easy task. The solution explained in this tutorial uses PHP for the server-side programming and sends the data using JSON (JavaScript Object Notation) encoding. By the end of the tutorial you will be sending simple objects along with arrays of objects from your PHP code to your Flex client.s to be transmitted from a server to the client. [...]    There's a list of things you'll need to get started, the files you'll need to work with in the tutorial, and the steps to follow to make things work together nicely. Plenty of PHP and Flex code is included.
330020
Harry Fuecks mentions an interesting project today on the SitePoint Blog - CouchDb - a stand-alone document store, accessible via XML REST.    Firing up the CouchDb server on Windows is a breeze-follow the README. PHP-wise, you need the new http extension which is most easily done on Win32 by grabbing the most recent PHP 5 release (5.1.6) and the corresponding collection of PECL modules.   The interface between CouchDb and PHP is REST - XML + HTTP - you can also point your browser directly at the CouchDb server (default - localhost:8080) and get around with a little help from the CouchDb wiki.    So, if it's Just Another Database, why should we pay attention? Harry notes (with a code example) that it's more about how it stores the information and not just that it does. His example takes in a POST request from a form and pushes it (raw data) into the CouchDb functions. He also gives an example of where this would be handy - in a wiki (like Dokuwiki) where the files are currently stored on the filesystem instead of in a database.
355469
Popular posts from PHPDeveloper.org for the past week:DeveloperTutorials.com: AJAX and PHP Form ProcessingPHPRiot.com: Monitoring File Uploads using Ajax and PHPCommunity News: Has Smarty's Time Come?Deasil.com: Lessons to be learned from PHPIan Bicking's Blog: What PHP Deployment Gets RightDaniel Crook's Blog: Mashups from IBM at NYPHP in JanuaryMike Naberezny's Blog:  Horde/Yaml 1.0 ReleasedMikko Koppanen's Blog: Padding thumbnail with colorRichard Lord's Blog: If you want to create AVM2 swfs from PHPZend Developer Zone: PHP Abstract Episode 31: Book Review - Sitepoint's PHP Anthology, 2nd Ed.
674304
Mike Wallner has thrown together some stats for the latest edition of the pecl/http package to test its response performance.   The results surprised me, because it clearly shows that the performance drop for starting the PHP engine and doing the neccessary negotiation to provide caching is not that bad.   There's a chart of the results as well as a full PDF with all of the stats the graph maps out. He includes the legend to make the graph easier to understand.
390086
In another quick note from Chris Shiflett, there's a summary of php|works and some of the comments made about it:
275619
Travis Swicegood is teasing us with some output from a script in his latest blog post:   So my free time of late (what there is of it) has been spent on a project that's getting really close to v0.1 release. In other words, its first functional release. If you've ever run a test using the PEAR installer or know what a .phpt file looks like, you might be able to guess what I've been up.   Keep an eye on his blog for more information on his "secret project".
743840
Chris Shiflett has posted his own recap of the (just passed) php|works conference up in Toronto over on his blog.   I've been traveling non-stop since php|works, so I haven't had a chance to reflect on the conference, what I learned, who I met, and things like that. (Zak has been doing a good job of this lately, and I'd like to follow his lead.) I've probably forgotten more than I remember, but this is my recap.   Included in the things he mentions are:  The people he was able to meet (like Joshua Eichorn and Sebastian Bergmann) The talks he gave ("Truth about XSS" and "Agile PHP Testing") His interview with Cal Evans of the Zend Developer Zone The PHP 5 Certification and Wez Furlong's "Not PDO" talk
647262
In a new post to his blog today, Mike Potter talks about the WebORB for PHP software and a new feature based on Adobe technology - a Flex-based console.   [It] includes a service browser, as well as a number of useful examples, showing both the client side code (in Flex) and server side code in PHP. The getting started guide (again, built into the console or available on the web) provides a good tutorial for creating your first WebORB powered application.   He likes the project overall, but notes a small issue he has with starting a new project - a prompt to use the Flex Data Services. Overall, though, he has high hopes for the future of the project.
692223
Jim Plush has posted an offifical release announcement about his latest contribution to the PHP community - a debugging tool combining PHP (through the myBIC framework) and the Firefox FireBug extension.   I put together a couple pieces of technology to give the PHP community a debugger/profiler that should make life easier in the "web2.0" world. Are you tired of echo'ing print statements in your ajax calls? Writing to log files? Firing up big ol debuggers just to see what the value of some array is? Well look no further than the new MyBic PHP Debugger.   The tool is a smaller part of his larger MyBIC framework and can do things like writing log files, echo information back out to the screen, and communicate information back out to the Firefox user. There is a standalone version of FireBug that will be posted for those that don't want to have to install an entire framework to use it.   Keep an eye out (here and on his blog) for the links to the release when it's posted. In the meantime, you can check out a screencast [mov] of the package in action or just the screenshots in the blog entry.
613469
Macromedia promises to speed development of Internet applications with a new tool for its Flex platform. With Flex, enterprises can add interfaces to strategic applications, including visual
580095
If you missed the previous PHP/Flex online seminar from Adobe, Mike Potter has some good news for you - there's another one coming up on July 17th.   For those of you who missed my first online e-seminar for PHP developers, I'll be hosting another one on July 17th (next Tuesday). The content will be fairly similar, but instead of using AMFPHP I'll use WebORB for PHP, which was updated last week to 2.0.   You can register for the session here.
264910
Scott Mattocks, like so many others, has just reciently recieved notification that he's been accepted as a speaker for the Zend/PHP Conference & Expo this fall. He talks more about his speech in his latest post.   My session, "Consusming Web Services with PHP-GTK 2&#8243; will be a look at how to turn a web services API into a desktop application. I only have fifty minutes so it won't be very heavy on implementation details. Instead it will look more at representing different data structures, collecting different types of data and how creating a desktop application can make life easier for the company and the end user.   Scott joins other speakers for this great event, including speakers like Ilia Alshanetsky, Wez Furlong, and Zeev Suraski. Be sure to check back on the Zend site soon to see when Scott and others' talks will be held.
378949
Mike Potter has posted about an event happening this Thursday (June 28th) - a webcast to help developers learn more about integrating Flex and PHP.   Are you interested in building rich Internet applications with PHP as the backend data service? Join me this Thursday as I present at an Adobe online e-seminar. The session is scheduled for July 28th, at 11:00 AM Pacific Time.   You'll need to register for the event to attend and you'll get info on "why rich internet applications" and some examples of companies using it in their web-based applications.
645809
Mike Potter points out that the code from the previous PHP/Flex e-seminar [zip] has been posted and is ready for download.   f you have any questions, or are new to Flex and PHP, you should download the Flex / PHP Test Drive from flex.org/php. That page also has a link to the PHP FlexCoders email list, where you can post questions about Flex and PHP. If you have any questions about the code in particular, you can post them to this blog entry, and I'll be happy to answer them.   Also included in his post are instructions on getting things compiled and working to be able to use the example code on your system.
309934
The DevX.com site has posted some code that gives you methods for passing information back and forth between PHP and a Flash application.   When you need to develop a web form with a special design and great effects, you will probably elect to use Flash. But building and programming Flash forms is considerably different from building standard HTML-based forms. [...] To do that though, you need to know how to access data in the Flash form and (sometimes) how to update the Flash form from PHP as well.   They help you build a sample Flash form as a base to work with in the transfer methods including the ActionScript to get the data out of each field. The tutorial shows the two way communication that's possible - pushing the Flash values out to the PHP script via a getURL() call and pulling the results back in with a call to loadVars() from the PHP script's output.
159475
Hannes Magnusson has posted about more updates that are being made to the PHP.net website today, including an upgrade to the "conference teaser" patch and the introduction of a new box to like directly to the latest releases on the front page.    Since I moved the 'current releases' info into "a giant" includable array, living in include/version.inc, we can now provide a simple XML feed (or whatever) for you to parse to get the latest release info simpler and more accurately...   What do you think? Is it worth it? What kind of format would you want it in?    He wants your feedback on this last point - would having an XML feed for just the version info be that useful? Or would it just be yet another RSS feed to add to the list to keep up with the new PHP releases?
135109
php|architect has posted the latest edition of their magazine - the July 2007 issue spotlighting an insiders guide to web bots and spiders and how you can use PHP to harness their potential.   Other stories in this issue include:   Networking tricks with SSH another look at SQL Injections a bit of Shell Shock for readers working with Adobe Flex (part 2) and pagination using objects and design patterns   You can pick up a copy of the current issue by itself or you can subscribe to php|architect for a full year and get this issue and tons of other great PHP content in the months to come.