On his blog today Fawad Hassan has the first part of a series where he's showing you how to create a CRUD interface by combining jQuery and the CodeIgniter framework.In this tutorial you will learn: how to use jQuery with Codeigniter, how to send Ajax request to perform READ operation, how to use jQuery UI tabs widget and how to use Microsoft's jQuery templating plugin.He provides a link to download the source to follow along with the tutorial as well as links to the other technologies involved. He...
The Symfony project has officially introduced something that can help with the future of your Symfony-related code/plugin - the ability to deprecate the plugin (via the plguin system) and let everyone using it know it's no longer in development.There are several reasons why a plugin may be deprecated. The symfony core framework might have included the functionality of the plugin in a recent release, or another plugin with the same functionality might be doing a better job at it. Whatever the reason, a...
The best part of my favorite PHP framework, Zend framework is Zend_Config. With Zend Config you can run you web application with more power full configuration that any one can change your application setting for use.
Read more information about Zend Config at Zend framework manual for Zend Config.But in most web application you may have many configuration file with special format such as INI, XML or PHP . Also some of configuration is for one part of your application and may you put in special folders.
From the Prescot Linux blog today there's a new post with some advice on hiring a good PHP developer for you or your company.There are a good number of programming platforms and languages that developers use today to provide businesses and consumers the right web applications to help them with their requirements. PHP is one such programming language that has gained a huge popularity over time, and that too quite rightfully. [...] However there are a number of factors that you must consider while looking...
Brian Moon has posted a few tricks he's figured out in relation to generating dynamic PHP code (a questionable method for some) you can use elsewhere in your application.Something that is great about PHP is that you can write code that generates more PHP code to be used later. Now, I am not saying this a best practice. I am sure it violates some rule in some book somewhere. But, sometimes you need to be a rule breaker.He gives the example of pushing the contents of an array out to a cache file (since the...
We are starting to use Google Docs quite a bit more at work and unsurprisingly the question of backup and offline availability comes into play. As part of the backup strategy we also wanted to capture incremental versions of the documents (on a daily basis) in the event we needed to go back to the prior versions.
To this affect I whipped up a small (120 lines) PHP script that will retrieve all your Google documents and save them to a local directory, in the event the document was created/updated in the...
Rob Allen has a new post to his blog today talking about an update he's made to the Akrabat_Db_Schema_Manager component for the Zend Framework to allow it to support table prefixes.I've updated Akrabat_Db_Schema_Manager so that it now supports table prefixes. It uses the application.ini key of resources.db.table_prefix as I couldn't think of a better one :) and then uses that for the schema_version table's name and also makes it available in your change objects.He illustrates with a sample setting for...
Brian Swan has posted an interview with Claudio Caldato, the Senior Program Manager for the Interoperability Team at Microsoft.The theme for my presentation at the Dutch PHP Conference last week was "recent improvements in PHP-Microsoft interoperability". In my talk, I showcased several of the PHP tools that the Interoperability Team at Microsoft has released on CodePlex. [...] I thought it would be a good idea to give you a bit more insight to this team's work by sharing a conversation I had with...
Debugging is an invaluable part of software development. I find it very useful in a variety of situations, for instance when I want to understand how a routine works or I need to get rid of a bug that is not exactly easy to fix just by reading the code.
My main goal in this post is to show you how to set your debugging environment with Eclipse PDT and Xdebug.
So William was asking on twitter how to best deploy symfony apps to a cluster of servers. There are actually some nice deployment tools inside the symfony cli that ease deployment to a single server, but that doesn't really cover the cluster case. Actually I assume that if you have a cluster of servers the best deployment strategy should probably be optimized against your specific use case. But let's make this question a bit more general: How do you deploy updates to your PHP apps running a clustered...
In this post, I am asking for your help and input, although it might seem like a post about nothing in particular to begin with. Please keep reading!
Last month, I gave a talk at TEK-X entitled "Open Source Your Career". Personally I think that a lot of the high fliers in this profession use their community activities as a boost to their professional development, and I know that this has been true for me too. So in my talk I told stories about situations I'd met in my professional life and how I'd...
I've adapted my ZFKit for an upcoming Twilio presentation (codestock next weekend!) and created a new project on github for it under the project name a€˜twiliokita€˜. A ZFKit was updated a little bit (a basic menu/navigation was added with Zend_Navigation, some example unit tests added) and used as the basis for this.
You can see this in action if you want to play around with it a bit.
I've modified the twilio REST client available from Twilio.com. A While functional, it wasn't the easiest thing to use,...
About a week ago Amsterdam was shaking since Ibuildings organized another edition of the Dutch PHP Conference at the RAI, hosted by Lorna Jane (@lornajane).This year was also the first time uncon sessions were available for the audience to give 15 minutes (lightning) talks or full 45 minutes presentations. Both Stefan Koopmanschap (@skoop) and I (@DragonBe) were given the honor to host these sessions as part of our community involvement with the PHP user group PHPBenelux (@phpbenelux).Since we were...
Something that is great about PHP is that you can write code that generates more PHP code to be used later. Now, I am not saying this a best practice. I am sure it violates some rule in some book somewhere. But, sometimes you need to be a rule breaker.
A simple example is taking a database of configuration information and dumping it to an array. We do this for each publication we operate. We have a publication table. It contains the name, base URL and other stuff that is specific to that publication....
From the Otto on WordPress blog there's a recent post (made more useful by the release of WordPress 3) about how to use the multi-site abilities of this latest version to create multiple sites with their own domain names attached to each.The other day, Klint Finley wrote a very good walkthrough of using the new Multisite functionality of WordPress 3.0. In the comments, a lot of people wanted to know how to use your own Top-Level-Domains. Since I'm doing that now, here's a quick walkthrough/how-to...
On the Zend Developer Zone today there's an announcement from Ralph Schindler about this month's Bug Hunt Days (for June 2010):It's that time of the month again- but this time with a twist! Today [June 17th], Tomorrow and Saturday, 17-19 June 2010, Zend Framework will host its monthly bug hunt. You read that right! We are adding Saturday into the event for those developers who want to do a little weekend bug hunting. For those of you unfamiliar with the event, each month, we organize the community to...
On the ThinkPHP blog today there's a new article looking at some of the best practices they seen when it comes to profiling and benchmarking your PHP-based applications.Over the years, PHP has evolved from a script language to a programming language used in big applications with high-level architectures. As the most popular language for web applications, PHP is very fast, robust and stable by default. Coming from tiny scripts, PHP is used in large-scale web applications nowadays. In terms of business...
On NETTUTS.com today there's a new tutorial for the WordPress users/developers out there showing you how to create a "Most Popular By Views" plugin for your site.As you continue writing for WordPress more and more, the level of difficulty and complexity of your plugins will eventually reach far beyond the simple back-end data manipulation, as demonstrated in our beginner's article. In this installment we'll cover in-depth: database interaction, Admin Widgets, and Sidebar Widgets. Today's example will be...
Continuing with the tutorial series, we will see how to debug the application we created in the #1 series of the tutorials. In case you missed it, in our first tutorial, we have seen how to structure and code a brand new ZF application to use modules (you can also view that article here) Debugging include easy to use methods of printing data on the screen, including ZFDebug Toolbar in order to manage all errors and queries, using the logger to log messages to Firebug, using a simple debug function that...
It's that time of the month again- but this time with a twist! Today, Tomorrow and Saturday, 17-19 June 2010, Zend Framework will host its monthly bug hunt. You read that right! We are adding Saturday into the event for those developers who want to do a little weekend bug hunting . For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework. Past events have netted over a 100 issues closed in just two days. We'd...
|
Latest PHP Tweets
|