PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6001 to 6020 of 6889

Autumn Conferences

Autumn Conferences
Autumn Conferences London, UK Wednesday, September 22nd 2010, 21:14 BST Autumn started yesterday, and that also marks the start of the 2010 autumn conference schedule. In the next two and a half months I'll be attending and speaking at several conferences. Besides some of the older topics (PHP's date/time extension, and Xdebug) I will also give a few presentations on "Geolocation and Maps with PHP". The new presentation covers the use of geolocation information with PHP. I will start with a...

GEF: Creating a connection on mouse drag

GEF: Creating a connection on mouse drag
This tip shows how to implement a connection creation when dragging a mouse from EditPart, thus saving user's time (one click instead of three: activating connection creation tool, clicking on EditPart, restoring selection tool).What you need is to return a ConnectionDragCreationTool from your EditPart:public DragTracker getDragTracker(Request request) { return new ConnectionDragCreationTool();}The problem begins if your EditPart has a Direct Edit policy, Direct Edit commands won't be handled anymore....

Switching on my WLAN with my phone

Switching on my WLAN with my phone
It all started when my router began to crash every few days. All my connections would drop, and misery ensued. I disabled WLAN/Wi-Fi and it stopped crashing, so I was happy. But then my laptop's range became limited, and my phone sucked up my precious data plan, which wasn't ideal either. Now the router I got is quite specific, it's remote controlled by the ISP and some settings are accessible only via their web interface, which means that enabling/disabling WLAN takes 3 minutes of waiting and is very...

Developer.com: Build Your First PHP for Android Application

Developer.com: Build Your First PHP for Android Application
On Developer.com there's a recent tutorial looking at developing your first Andriod application in PHP (running in a PHP interpreter on your device).Google's open source Android mobile operating system is taking the smartphone market by storm. Unlike Apple, which has stringent guidelines and requirements for developers who want to offer their applications on the iPhone App Store, Google has left the Android platform wide open. You can even write Android applications in PHP now. The folks at Irontech have...

Sameer Borate's Blog: Unpacking binary data in PHP

Sameer Borate's Blog: Unpacking binary data in PHP
Sameer Borate has a new post to his blog today talking about a method for unpacking binary data directly in PHP - specifically in working with images.To set the stage we will start with a programming problem, this will keep the discussion anchored to a relevant context. The problem is this : We want to write a function that takes a image file as an argument and tells us whether the file is a GIF image; irrelevant with whatever the extension the file may have. We are not to use any GD library functions.He...

Zend Developer Zone: DataModeler: Simple ORM - Part 2 Saving Models

Zend Developer Zone: DataModeler: Simple ORM - Part 2 Saving Models
In his previous post Vic Cherubini introduced his namespaced DataModler ORM class and showed how to create a basic model to work with user information to the database. In this second part he looks at taking those models and saving their contents to the database.After you have created your Models, it's time to save them to a datastore. DataModeler requires you to use PDO as the abstraction layer as it makes use of prepared statements and database specific extensions.He bases it all on PDO object - created...

Evercookie: the cookie that just won't die

Evercookie: the cookie that just won't die
Samy, famous for his worm, released evercookie this week. Evercookie stores cookies is various storage mechanisms such as Flash Local Shared Objects (also known as flookies), html5 storage mechanisms and even in the history and cache. When any of these are wiped by the user the script will repopulate it, making it very hard to get rid of your cookies.This is technique is common to circumvent a users' privacy wishes, which Clearspring recently got sued for, but it's put in overdrive.One good use for it is...

Till Klampaeckel's Blog: Debugging Zend_Test

Till Klampaeckel's Blog: Debugging Zend_Test
In a new post to his blog Till Klampaeckel looks at unit testing in a real life example he had when working with the Zend Framework's Zend_Test component.If I have to spend too much time debugging a test it's usually a bad test. Which usually means that it's too complex. However, with Zend_Test_PHPUnit_ControllerTestCase, it's often not the actual test, but the framework. This is not just tedious for myself, it's also not the most supportive fact when I ask my developers to write tests. [...] The...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Mail dispatcher PIMG Google, Text To Speech Kiwi Google Text To Speech PHP Scanner Twitter Auto Publish Retrieving, executing and saving partial data from SQL dump proc_runner CSFD Parser jQuery4PHP Easy CAPTCHA

Podcast - Symfony CMF Explained

Podcast - Symfony CMF Explained
You might have heard of the FrOSCamp that took place in ZArich last weekend. Being there, I took the opportunity to talk about the Symfony CMF with Thibault and Lukas. We talked about general things like the history and future of the CMF before digging into innovative architectural approach this project is taking. This discussion was recorded and you can find it either on my private blog or directly in iTunes.

DataModeler: Simple ORM - Part 2 Saving Models

DataModeler: Simple ORM - Part 2 Saving Models
DataModeler is an Open Source ORM I began writing at the beginning of the year. I had experience with ActiveRecord, but was dissuaded from using it too often because it was difficult to unit test (at least I felt so). Wanting to learn Test Driven Development better, I decided to create my own small ORM framework: DataModeler. In DataModeler Part 1, I described building a basic Model. In this article, I'll cover saving a Model to a datastore.

Community News: CodeWorks 2010 (php|architect & Keith Casey)

Community News: CodeWorks 2010 (php|architect & Keith Casey)
Both Keith Casey and php|architect have posted announcements about this year's CodeWorks traveling conference tour (previously announced here). First, from the official php|architect post:CodeWorks 2010 (CWX for short) is a series of one-day technical conferences presented by the php|architect team and sponsored by Adobe. It's slated to stop in five cities, starting November 9th. [...] Each stop features talks presented by the php|a gang on various PHP-related topics, including object orientation,...

Zend Developer Zone: php|architect's guide to Web Scraping with PHP - Don't let the title fool you.

Zend Developer Zone: php|architect's guide to Web Scraping with PHP - Don't let the title fool you.
On the Zend Developer Zone there's a recent post about a book from Matthew Turland (recently available in print) - the php|architect's Guide to Web Scraping with PHP - and why you shouldn't judge a book by its cover.I was really hesitant to commit to reviewing the book because I tend not to review books I don't like and this subject matter just wasn't doing it for me. So with great fear and trepidation, I popped open my review copy. (PDF so I could read it on my iPad) I was ever so surprised and in a...

Ibuildings techPortal: Building an Continuous Integration Server for PHP with Hudson

Ibuildings techPortal: Building an Continuous Integration Server for PHP with Hudson
On the Ibuildings techPortal there's a new tutorial from Ben Longden about setting up Hudson as a continuous integration server for the deployment of your application(s). Tools like Hudson allow you to create consistent builds and automatically handle tasks that might get overlooked by a person doing the deployment.Continuous integration (CI) is fast becoming part of the standard development model for creating high quality software, and rightly so. Delivering reliably high quality software is in the best...

Padraic Brady's Blog: Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!

Padraic Brady's Blog: Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!
In Padraic Brady's latest post he makes a pitch for developers out there to get in on the development of the Zend Framework version 2.0 "before the offer ends" in a few different ways.Zend Framework 2.0 recently passed Milestone 1 on its development track and is rocking on PHP 5.3 in all its namespaced glory. Milestone 2 is the introduction of the new Exception regime to ensure all of the frameworks' fun components throw Exceptions that are specific enough to be useful. Why waste your idleness on the...

ServerGrove Blog: Interesting symfony plugins: sfBehatPlugin

ServerGrove Blog: Interesting symfony plugins: sfBehatPlugin
On the ServerGrove blog there's a new post spotlighting one of the Symfony plugins they think is interesting - the sfBehatPlugin, an interface into the Behat system for behavior-driven development.Quality assurance (QA) is one of the most difficult things to implement around software development. Most of time it is left for the final phase of development and very often overlooked entirely. As many experienced web development teams already know, QA needs to be part of the development process from the...

Community News: Latest PECL Releases for 09.21.2010

Community News: Latest PECL Releases for 09.21.2010
Latest PECL Releases: CUBRID 8.3.0.100915 ssdeep 1.0.0 Judy 0.0.1 sphinx 1.1.0

SitePoint PHP Blog: Should You Close Your PHP Code Tags?

SitePoint PHP Blog: Should You Close Your PHP Code Tags?
On the SitePoint PHP blog there's a new post with an interesting question for PHP developers that might go against how they were tought to code from their early days - should you close your PHP tags at the end of your code?Even those with a modest grasp of PHP know that code must be enclosed within special tags. [...] However, if your file contains just PHP - and no escaped HTML code - the closing ? tag is entirely optional. Many developers argue that unnecessary code should be removed but there's...

Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!

Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!
Are you feeling idle these days? Do you have a deep gnawing feeling to do something before you go nuts? Playing the same old maps in Modern Warfare 2 night in and night out deperately trying to keep boredom at bay? Then today we have great news, because for the low low price of $0 (excl. ISP charges) you are invited to spend some of your free time contributing to Zend Framework 2.0. That's right! It's free! We'll even throw in free access to Github.com and a free Getting Started With Git Guide! What do...

CodeWorks 2010

CodeWorks 2010
You've probably already read about it in 38 other places, but I figured I should announce the news here: We are doing another CodeWorks tour. This time around we've simplified the whole thing. The team is smaller. The format is simpler. And we're limiting the cities a bit more. We have four people doing 6 presentations on one track across five cities in a span of 10 days. If you've ever been to a tech conference, you know how much effort it can be. So our pitch is simple: You will hear talks from Keith...

Latest PHP Tweets