 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Brandon Savage's Blog: Why Great Development Tools Don't Seem To Be Written In PHP
by Chris Cornutt December 04, 2009 @ 09:06:13
In a new post to his blog Brandon Savage asks why some of the best development tools don't seem to be written in PHP.
Trac. CruiseControl. phpUnderControl. Jira. Bugzilla. These are all intensely popular development tools. And not a single one of them is written in PHP. Why? [...] Some might argue that PHP is a lesser language, and thus incapable of producing the results that Python and Java can produce. Others might argue that other languages are more mature. But the truth is that these applications don't exist in PHP simply because PHP wasn't previously capable of producing them.
He expresses a desire to work on some of these tools and to make them native to PHP, but several comments on the post steer him towards some projects that have already done this sort of thing including Xinc, ArbitTracker and sismo.
voice your opinion now!
development tool native opinion
Brandon Savage's Blog: Exceptional PHP Nesting Exceptions In PHP
by Chris Cornutt November 12, 2009 @ 12:43:48
Brandon Savage continues his introductory series on exception handling in PHP with this new post to his blog. This time the focus is on methods for nesting exceptions.
In the last two entries we have talked about the concept of layer abstraction: that is, that exceptions should not be allowed to pass out of one layer and into another. So, when an exception is raised in the database layer it should be caught in the controller. But how do we go about making sure that exceptions raised in the database layer are properly recorded and processed, ensuring that we have error logging and don't simply silence our exceptions?
He looks first at general exception nesting then at extending the base Exception class to write more nested code (inside a class). He also touches on the nested exceptions that were included in the latest release of the PHP 5.3 series.
voice your opinion now!
exception nesting tutorial native
DevShed: Using Filters in PHP 5
by Chris Cornutt July 16, 2009 @ 07:59:04
DevShed has posted a new tutorial today (the start of a series) looking at using the filtering extension that comes native with PHP5 versions to clean up any data the user might give you.
Definitely, one of the most common tasks that PHP programmers have to tackle during the development of web applications is validating user-supplied data. [...] The use of native PHP filters may contribute significantly to saving time and effort when it comes to validating input data. In this series of articles I'm going to attempt to provide you with a concise guide to how to use them, as usual by way of a decent variety of code samples.
He starts off by looking at some of the filters that are available and show how to use one of them in a specific example - checking for integer values in a given input string.
voice your opinion now!
native extension tutorial filter
Liip Blog: Jackalope - JCR for PHP started
by Chris Cornutt May 12, 2009 @ 10:21:15
In this new post to the Liip blog Tobias Ebnother looks at Jackalope that's looking to bring JCR functionality into the toolset offered to PHP developers.
We initiated a new open source project called Jackalope. Its purpose is to bring JCR via Jackrabbit to the PHP world. [...] JCR provides a great standardized storage for hierarchical content and supports some nice features like full text search, versioning, transactions, observation, and more. Our main goal is to create a PHP Connector for Jackrabbit without using any Java.
To accomplish this, they're doing things in two steps. First, they've created a setup with the Java bridge (from Zend Server) to make the connection back to the Jackrabbit server and making writing tests to that API. The second step is to swap out the Java bridge with the Jackalope connection piece. You can check out the current state of the project on its Github page or come and ask questions of the team on the Freenode IRC network (#jackalope).
voice your opinion now!
jackalope jcr zendserver java connect native bridge
Giri Mandalika's Sun Blog: MySQL Native Driver for PHP, mysqlnd
by Chris Cornutt January 19, 2009 @ 10:26:37
This new post on the PHP::Impact blog links to a Sun blog post about the MySQL driver that provides a more direct connection between your PHP instance and MySQL - mysqlnd.
Due to the tight integration into PHP 5.3 (and later), mysqlnd eliminates the dependency on the MySQL client programming support when the database extension(s) and the database driver are built with the support for mysqlnd. mysqlnd is not another PHP extension like mysqli nor it has an exposed API to the userland. It is a library that provides almost similar functionality as that of the MySQL client library, libmysql. mysqlnd and libmysql libraries implement the MySQL communication protocol - hence both of those libraries can be used to connect to the MySQL Server.
The Sun blog entry also walks you through the installation and configuration of a PHP instance with the native driver installed (with the upcoming PHP version, 5.3).
voice your opinion now!
mysqlnd native driver library php5 compile tutorial
PHPro.org: Application Configuration
by Chris Cornutt November 04, 2008 @ 12:09:17
Kevin Waterson has posted a new tutorial today looking at a key part of any web application - the configuration settings and how they can be stored.
PHP applications come in many shapes and sizes. Some used locally from command line, and more commonly, for web based applications. More often than not, regardless of size or type, some form of configuration variables will be stored for global access. [...] Each options has its pros and cons. Here each of these options is explored to see which method is right for your application.
He looks at four different options:
- an ini file that can be parsed/modified directly by PHP
- an XML file slightly more complex, but still simple for PHP to use
- a PHP file with things like PHP arrays defining settings
- and a database with one or more configuration tables
Each type comes with some example code and format to give you an idea of how they'd work.
voice your opinion now!
application configuration ini xml database native
PHP Web Services Blog: What is Missing in PHP SOAP Extension?
by Chris Cornutt January 24, 2008 @ 11:22:00
On the PHP Web Services blog today, Sami asks "what's missing from PHP's SOAP extension" that needs to be added or corrected.
PHP SOAP extension is good to get started, to play around with. However, it falls much short in meeting the enterprise demands in the SOA era.
He talks about things missing (like binary file features and lots of security features). He also notes something that most PHP developers love about the extension - the WSDL parsing that makes it so easy to simply call a remote service without having to go through the pain of hacking through it yourself.
voice your opinion now!
soap extension native wsdl security binary file transfer
|
Community Events
Don't see your event here? Let us know!
|