PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 21 to 40 of 304

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
NYOS_ExcelWriter_simple Estoy Database system cCaptcha Leopard Validator Debugging Made Easy Page Header Similarities Finder Persian Calendar date function ABG PHP To XLS

Symfony CMF: why, how, when (part I)

Symfony CMF: why, how, when (part I)
I have blogged about how I wish there was a developer friendly CMS for a while now. I have also blogged that I wish that top applications would be build on top frameworks instead of homegrown ones. I have also blogged how I hope for the Symfony CMF initiative for solve all of this. Now back in fall 2010, when the community agreed to pursue using the Java Content Repository (JCR) specification as the basis for our work, things kinda fell in to a hole. The vision seemed clear and one of the main benefits...

PHP built-in Web server, PHP 5.3.6 and PHP.JS - Lately in PHP podcast episode 10

PHP built-in Web server, PHP 5.3.6 and PHP.JS - Lately in PHP podcast episode 10
PHP built-in Web server, PHP 5.3.6 and PHP.JS - Lately in PHP podcast episode 10 By Manuel Lemos PHP is going to come with a built-in Web server, so you will no longer need Apache or any other Web server software to run PHP applications. This is the main topic discussed by Manuel Lemos and Ernani Joppert in the episode 10 of the Lately in PHP podcast. They also discuss other topics of interest to the PHP world, like the PHP 5.3.6 security bug fix release and the PHP.JS project, which is a JavaScript...

Making A PEAR-Compatible Package

Making A PEAR-Compatible Package
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. Now that my repustateApi client component both has working API calls and 100% code coverage from its unit tests, I want to make a PEAR package ready for release. At this stage, I'm only...

Zend Developer Zone: Using the Plurk API with PHP

Zend Developer Zone: Using the Plurk API with PHP
On the Zend Developer Zone there's a recent post looking at using the Plurk API in a PHP application (by Vikram Vaswani). Plurk is a micro-blogging service similar to Twitter.While it's quite easy to connect a PHP application to Twitter (I've discussed it in detail in this Devzone article), there exist a number of other free micro-blogging sites that also expose open APIs. In this article, I'll introduce you to Plurk, which includes a JSON-based service API and also comes with a PHP library to simplify...

Unit Test Coverage For Components

Unit Test Coverage For Components
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. Working unit tests is only half the battle. If your unit test doesn't cover 100% of the code, chances are you're shipping bugs. 100% code coverage doesn't guarantee bug-free code by any...

Kore Nordmann's Blog: Generating XML schemas from XML data

Kore Nordmann's Blog: Generating XML schemas from XML data
In a new post to his blog Kore Nordmann talks about a tool he's developed that will "learn" XML schemas based on a document it's given. The tool, the XML-schema-learner, makes it as simple as a one-line command to generate the DTD file and transform it into a schema.You can get the "XML schema learner" from my Github account: https://github.com/kore/XML-Schema-learner. Just clone it, and you can run the tests, or use the learn command to infer XML schemas from XML data.He includes an example XML...

The Lone Star PHP Conference

The Lone Star PHP Conference
This morning I and fellow DallasPHP-er Jake Smith officially launched the website for the local PHP conference we've been working on for the past few months - the Lone Star PHP Conference (happening in Dallas, Tx on June 11th). It's a one-day, two-track event that brings together some great speakers from around the Dallas area to talk on loads of different topics. Here's a few of them from the list: Using PHP and MySQL to Build Applications with Windows Azure Disregard Inputs, Acquire Zend_Form Using...

JSClasses.org Blog: Lately in JavaScript podcast - Episode 5 (PHP.js)

JSClasses.org Blog: Lately in JavaScript podcast - Episode 5 (PHP.js)
In the latest episode of the Lately in Javascript podcast, Manuel Lemos and Michael Kimsal interview Brett Zamir about PHP.js, a project that tries to bring PHP methods to the Javascript environment.PHP.js is a JavaScript library that provides the same functions as the PHP language in JavaScript. Manuel Lemos and Michael Kimsal interview Brett Zamir, one of the main developers of the PHP.JS project, to tell us more about it on episode 5 of the Lately in JavaScript podcast. On this episode they also...

ZendCon Sessions Episode 043: Improving QA on PHP Projects

ZendCon Sessions Episode 043: Improving QA on PHP Projects
This is the ZendCon 2010 session recording of aoImproving QA on PHP Projectsa by Michelangelo van Dam.

Stuart Herbert's Blog: Series: Beyond Frameworks

Stuart Herbert's Blog: Series: Beyond Frameworks
Based on his Beyond Frameworks session presented at this year's PHP UK Conference 2011, Stuart Herbert is in the process of creating a series of posts based about its contents:[In my session] I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components.As of the time of this...

Sameer Borate's Blog: Data filtering and validation using Inspekt

Sameer Borate's Blog: Data filtering and validation using Inspekt
Sameer Borate has a recent post to his blog looking at an important part of any application - filtering input from the user and output before its used. In his examples he uses a library called Inspekt (from Ed Finkler) to make the job a lot easier.Most web security glitches are caused by insufficient input filtering and validation. Despite a large number of validation libraries being available, input sanitization is usually bypassed due to sheer laziness or the idea that your site is somehow immune from...

Voices of the ElePHPant: Interview with Vid Luther

Voices of the ElePHPant: Interview with Vid Luther
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Vid Luther,Cal's "three questions" of choice this time center around Vid's community experience: How did you get involved in the PHP community? What's the biggest benefit you or your company/employer gets from participating in the PHP community? What's the easiest way to get involved in the PHP community? As always, you can listen to this latest episode via the in-page player, by downloading the episode or by...

Community News: Latest PECL Releases for 03.29.2011

Community News: Latest PECL Releases for 03.29.2011
Latest PECL Releases: xdebug 2.1.1RC1 xdebug 2.1.1

Generating XML schemas from XML data

Generating XML schemas from XML data
Already some time ago I published a tool on Github which allows you to generate (or learn) XML schemas from XML data. You provide the tool with a set of XML files and you get a nice, human readable, XML schema (XSD, DTD, a) from that. Read more for the details.

Proudly presenting my first Symfony2 training

Proudly presenting my first Symfony2 training
In January I announced that I had become a Sensio training partner. So far, I had not scheduled any training sessions though. With Symfony2 nearing completion though, it's time to change that, and I've finally scheduled my first training session on Symfony2.

Pragmatism over Theory: Protected vs Private

Pragmatism over Theory: Protected vs Private
I often favor pragmatism over theory; probably because programming is how I earn a living but also because I don't have any computer science degree and what I know I've learned from my experience. In the recent months, there have been a lot of discussions in the PHP community about the usage of private over protected visibility for methods and properties in Open-Source libraries. To summarize my point of view:"private" is for purists and "protected" is for pragmatic developers. Coming from Perl, I've...

Testing Remote Web Services The Quick And Nasty Way

Testing Remote Web Services The Quick And Nasty Way
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. To be a success, all components need high-quality unit tests, and this applies to the component I am building, a client for Repustate.com's semantic analysis API. But how do you go about...

Duplicates Detection with ElasticSearch

Duplicates Detection with ElasticSearch
As I mentioned on Twitter recently, duplicate detection (or de-duping) is one of the most unappreciated problems that the developers of certain types of applications face sooner or later. The applications I'm talking about share two main characteristics: item collection and some sort of social aspect. A prime example of this is Delicious. Users collect items (bookmarks), and, since multiple people can collect the same item (URL), there needs to be duplicate detection, so that it is possible to infer some...

Private vs Protected Methods: The Debate That Never Ends

Private vs Protected Methods: The Debate That Never Ends
Image by chrisjohnbeckett via Flickr As a new generation of PHP web application frameworks start establishing beach heads in preparation for an all out war for mindshare, I've been contemplating some of the key changes we're seeing emerge that may gain traction over time. Today, I just thought to share my thoughts about private methods vs protected methods. Something that has impacted on Doctrine 2 and Symfony 2. And every other piece of PHP code since PHP 4 came along. Doctrine and Symfony have adopted...