I wanted to share some of my thoughts on future development in mtrack, and
solicit some feedback. Some of these are driven directly from user requests, and others are things that I've been thinking about on-and-off for a little while.
I really want to hear your thoughts, whether they relate to ideas and feature
suggestions, or whether you have some experience or anecdotes on these topics.
Custom Fields
I was hoping to avoid having to enable this as a feature, as I find the implementation approach...
Microsoft has recently launched a beta release of a new project called WebMatrix. This is a complete web development stack that can be used toA start developing and deploying web sites. One thing that may be not so obvious from all the existing announcements is the fact that WebMatrix has full support for installing, running and publishing PHP applications.
Here are the examples of how WebMatrix can be used to create and publish a PHP web site (using WordPress as a showcase).
Installing a PHP...
One complaint we've heard often of ZF users is confusion over how acronyms
are represented in class names.
As an example, many suggest that "Zend_PDF" is more semantically correct
and easier to remember than "Zend_Pdf". On the other side of the coin,
many developers feel that our MixedCasing or Titlecasing of acronyms is
a simple, easily learned rule that makes typing easier.
In a quick post to his blog Hasan Otuome points out an issue he had when running phpDocumentor on his application's codebase resulting in a broken end result.Recently had to run PhpDocumentor on a project only to be faced with broken documentation after bringing all class files into compliance with proper comments. At first I thought I was missing a config flag for the command-line but, it turns out that the PhpDocumentor-1.4.3 ZIP download contains broken template elements.He provides two screenshots...
Brian Swan has posted a new tutorial to his blog showing you how to connect your PHP application with the Azure service and use the blob storage it offers.In this post I will do something similar [to this previous post] for accessing Windows Azure Blob Storage from PHP. This won't be a deep-dive into Windows Azure Blob Storage, but it will be a "how to get started with the Microsoft_WindowsAzure_Storage_Blob class (which is part of the Windows Azure SDK for PHP)"-type post.He talks about how these blob...
Over the last little while I've come across quite a few XML feed generators written in PHP, with varying degrees of 'correctness'. Even though generating XML should be very simple, there's still quite a bit of pitfalls I feel every PHP or (insert your language)-developer should know about.1. You are better off using an XML libraryThis is the first and foremost rule. Most people end up generating their xml using simple string concatenation, while there are many dedicated tools out there that really help...
Kevin Schroder has posted a new announcement to his blog today about Zend's need for "beta testers" for the latest version of their PHP Certification exam (the 5.3 version).Zend has recently teamed up with several of the top people in the PHP community to offer the PHP 5.3 Certification. It will be coming out in a few months, but before we can do that we need beta testers. That means YOU! If you want to participate all you need to do is fill out a quick qualification survey. These are the questions you...
On his blog today Andrey Hristov has a quick post that talks about two methods to extend the functionality that the mysqli extension offers in PHP with your own custom code.Have you ever though about extending mysqli's classes. It's pretty simple to subclass the connection class mysqli. However, subclassing mysqli_result and mysqli_stmt is not so obvious, actually I though that it's even not possible. However, never say never! After discussing mysqli's OO interface for an hour yesterday [...] I found out...
In this new post to the php|architect blog Matt Butcher offers a security tip for all PHP developers out there - never use $_GET again.You don't need to use $_GET or $_POST anymore. In fact, you probably shouldn't use $_GET and $_POST anymore. Since PHP 5.2, there is a new and better way to safely retrieve user-submitted data. [...] Rather than accessing the $_GET and $_POST superglobals directly, you can make use of PHP functions like filter_input() and filter_input_array().He gives a code example of it...
If you're just making the move from procedural PHP development into the next level - object oriented programming - and are having a bit of trouble getting the hang of it, you might want to read this new tutorial from NETTUS.com introducing the topic.For many PHP programmers, object-oriented programming is a frightening concept, full of complicated syntax and other roadblocks. As detailed in my book, Pro PHP and jQuery, you'll learn the concepts behind object-oriented programming (OOP), a style of coding...
For those of you who don't know, a€ouniversal constructora€ť is the name I give to PHP constructors that always and only take a single parameter. The parameter is an array of key-value pairs, which is then merged with a set of default keys and values. Finally, the array is unmarshalled, usually into object properties.
One [...]
Popular posts from PHPDeveloper.org for the past week:Project: MakeGood - A test runner for doing Test Driven Development with Eclipse PDT
dynaTrace Blog: Top 10 Performance Problems taken from Zappos, Monster, Thomson and Co
Richard Thomas' Blog: Solar Framework manual is coming along
Matthew Weier O'Phinney's Blog: Creating Zend_Tool Providers
Stoimen Popov's Blog: preg_match Give Names to the Matches
Site News: Popular Posts for the Week of 07.02.2010
Site News: Job Postings for the week of...
In August I'll be attending FrOSCon in Germany for the first time, and speaking there. It's a mixed technology conference, with rooms set aside for separate scheduling for various projects and technologies. I'll be speaking in the PHP room, delivering "Working With Web Services", a talk which covers how to consume all sorts of types of web service from PHP. I'm excited about that and even more excited to hear that I'll also be speaking in the main track, where I'll deliver "Open Source Your Career" -...
In January of this year, I had the idea of writing a html Sanitiser for PHP. Why not? All PHP has is htmlPurifier and a bunch of random solutions that are about as secure as the average wooden gate. If you think that's harsh, wait for my next blog post . htmlPurifier is the only secure by default html Sanitiser in PHP. Fact. But the darn thing is gigantic and slow. That has never stopped me using it (for years), even if I had to do a little funky engineering so I could minimise the performance hit. Other...
In a new post to the test.ical.ly blog Christian looks at how to wrap Symfony functional tests inside of a PHPUnit test case to unify them with your already-existing unit tests.Yesterday I wrote a lot of functional tests for a symfony plugin that provides and XML web service interface. Using symfonys functional testing classes this is actually quite easy to do. But wouldn't it be cool if you could integrate these tests into your continuous integration service just like PHPUnit tests? Wouldn't it be cool...
Corey Ballou has posted a MongoDB-based session handler to his site with a new update back on July 1st.MongoSession is a PHP implementation of a MongoDB session wrapper. This class was built as a drop-in for easily switching to handling sessions using Mongo. It's a great replacement to memcache(d) for VPS servers where you risk memory being reshuffled in the pool and taking performance hits.You can grab the latest version of the source from the github repository for the project or just copy and paste the...
On the Ibuildings techPortal site today Ivo Jansch has announced the winners of their latest programming contest (a class to satisfy a given test case, a sort of TDD challenge).n May and June we ran another one of our PHP coding contest. We love to play with PHP and offer people a chance to show off their coding skills in exchange for prizes! This time the contest revolved around creating a class that satisfies a given unit test case. The test case contained tests for 7 mathematical operations. The...
SitePoint has posted the second part of a series from Jordan Knight about creating a Twitter client by combining Silverlight and PHP (part one is here).The application that we'll build in this article will allow you to enter a Twitter search term, and display the tweets received in Silverlight. Unfortunately, this process isn't as simple as loading a URL from Silverlight, because of something known as cross-domain access policy.He talks some about the problem that this cross-domain access can cause for...
On PHPBuilder.com today Voja Janjic has written up a "top ten" list of the most useful Joomla components you can use for your Joomla-based site.Joomla, the PHP-based, open-source content management system (CMS), has grown in popularity thanks to its wealth of templates, modules and components, as well as its ease of installation. In this article I present the most useful Joomla components I have found in my Web development. They cover everything from e-commerce to internationalization to SEOComponents...
On NETTUTS.com today there's a new tutorial that introduces a bit more advanced concept in the development process - design patterns.Design patterns are optimized, reusable solutions to the programming problems that we encounter every day. A design pattern is not a class or a library that we can simply plug into our system; it's much more than that. It is a template that has to be implemented in the correct situation. It's not language-specific either. A good design pattern should be implementable in...
|
Latest PHP Tweets
|