On the PHPClasses.org blog there's a recent post about using the DaDaBIK project to automatically generate a database CRUD frontend without having to code any of it by hand.Writing CRUD database front-ends and simple database applications is a very common task that almost all PHP developers need to implement. It is usually a simple job to accomplish, but is also time consuming, boring and error-prone to implement. Software developer's tend to avoid time wasting and repetitive tasks in favor of more...
Time for some more shameless self-promotion... A I'll be doing a talk at the New York PHP group on Tuesday May 22, 2012. I'll be discussing some Object Oriented design principles and how to apply them to your projects. We'll specifically discuss the STUPID and SOLIDA principles. Here's the full abstract:When it comes to Object Oriented Programming, there is no shortage of guidelines and principles for how to properly design an OO system. There is also no shortage of acronyms to describe these principles:...
Continuing on in their series looking at the SOLID development principles, Alejandro Gervasio picks back up and looks at the "D" in the set - the dependency inversion principle.While some central concepts in the realm of object-oriented design are generally harder to digest at first, such as separation of concerns and implementation switching, more intuitive and untangled paradigms on the other hand are simpler, like programming to interfaces. Unfortunately, the DIP's formal definition is surrounded by a...
Here's what was popular in the PHP community one year ago today:Chris Jones' Blog: Oracle Tuxedo: A New way to Run PHP Applications
Brian Swan's Blog: Book Review: Easy PHP Websites with the Zend Framework
Gonzalo Ayuso's Blog: Real time monitoring PHP applications with websockets and node.js
DZone.com: WebMatrix: Why PHP Developers Should Pay Attention
Jason Gilmore's Blog: Sixteen Best Practices- and Productivity-Related PHP Tutorials
Lorna Mitchell's Blog: Idiot-Proof Deployment with Phing
Query7.com:...
It feels like every minute a PHP developer somewhere on this planet starts implementing something aching to a CMS from scratch. Some do it because their project is "so big" it that it "obviously needs" a custom solution. Some do it because their project is "so small" it "obviously needs" just a few days of hacking .. to build a custom solution. Let me briefly focus on the later group. Working in a company with less than 10 people building websites for customers a project needs a bit of a CMS to manage...
So that I don't forget how to do this next time around. Worked for me, your mileage may vary.
First step is to get a working install of PHP.
Download PHP 5.4.latest ZIP file from the PHP Windows website
Unpack the ZIP file into c:\php. You should end up with c:\php\php.exe
Copy c:\php\php.ini-development to be c:\php\php.ini
Edit c:\php\php.ini to suit (e.g. set date.timezone)
Make sure you add c:\php to your system PATH (via Computer's Advanced Properties - Environment Variables)
Reboot (this is...
For those that couldn't attend this year's Whiskey Web conference and were wondering what it was like, you should check out this new summary from Marco De Bortoli on the Ibuildings techPortal.Whisky Web is a brand new, fresh conference and the 2012 edition was the inaugural event, with hopefully many more to follow. This event has some familiar names from the PHP community behind it, Juozas "Joe" KaziukÄ—nas and his helpers Michael Maclean, Max Manders, Dale Harvey and Paul Dragoonis.He talks about...
On the phpDay conference site today they've posted their latest interview with one of the speakers for this year's event - some questions with Giorgio Sironi.
This is the ninth 'social' interview in a series with the phpDay 2012 speakers:
it's 'social' because the questions have been submitted and voted online on Facebook. We are happy to introduce you Giorgio Sironi, a freelance PHP developer and PHPUnit_Selenium mantainer.
The questions cover a wide range of topics including:
His thoughts about...
In this new post to her blog Lorna Mitchell dives into the world of vagrant/puppet/chef and looks at using the tools to automatically create VMs that you can use for PHP development (or testing).I've been hearing great things about puppet, chef, vagrant, and friends for a while now, but since I work on my own I tend to either develop straight onto my ubuntu machine or grab an appropriate existing VM and use that. So I read about this brave new world of virtualisation but (as with most tools) they can be...
Congratulations go out to Derick Rethans for the outstanding work he's done on XDebug for the last ten years. From his latest blog post:Today it has been ten years since the first release of Xdebug: version 0.7.0. I would like to celebrate this tenth anniversary with a new release: Xdebug 2.2.0. Xdebug 2.2 adds support for PHP 5.4 and provides some new features.There's five new things on his list of updates in this latest release:
Colours on the command line
Better support for closures in stack and...
In the latest post to his blog Rob Allen looks at using Vagrant with Zend Framework applications to use for testing your code against multiple ZF versions.Vagrant is a fantastic tool that enables you to manage and run virtual machines from the command line, including automatic provisioning of them using puppet or chef. The really cool thing about it however from my point of view is that vagrant automatically sets up the VM with a folder called /vagrant that holds the code on your local hard drive from...
So Benjamin just went and wrote a license migration tool, which he will hopefully soonish have time to release as OSS itself. So far things are going well. The tool basically reads out the list of authors and then can list up their commits. Here is for example my list of commits. As some users didn't use the same config for all their commits, we might have authors in our system that in the real world map to the same people. Via an admin tool we can manually update the emails. The system can generate a...
The PHP project has released another update to both the 5.3.x and 5.4 revisions of the language correcting the bug that was found dealing with a flaw in CGI-based setups.The PHP development team would like to announce the immediate availability of PHP 5.4.3 and PHP 5.3.13. All users are encouraged to upgrade to PHP 5.4.3 or PHP 5.3.13 The releases complete a fix for a vulnerability in CGI-based setups (CVE-2012-2311). Note: mod_php and php-fpm are not vulnerable to this attack. PHP 5.4.3 fixes a buffer...
SCSU
MySQL Workbench Schema Converter
Form Build
Little DB
MMP
WebThumbnail
Batch File Rename
Using DaDaBIK to create a PHP CRUD Database Front-End without coding
By eugenio tacchini
DaDaBIK is an Open Source PHP project which allows you to create Web front-end and simple database applications without coding. The new stable version 4.4 of DaDaBIK was just released.
Read this article to learn more about DaDaBIK and how you can use it to productively create your PHP applications.
I've been hearing great things about puppet, chef, vagrant, and friends for a while now, but since I work on my own I tend to either develop straight onto my ubuntu machine or grab an appropriate existing VM and use that. So I read about this brave new world of virtualisation but (as with most tools) they can be hard to introduce on your own, and I didn't.
Then I went to WhiskyWeb, which had a hackathon. I'm unclear on exactly what happened because my attention was elsewhere but it seems like @JayTaph...
Since we started working on Jackalope, we always claimed it would also provide an integration point with other enterprise systems. Last week, we set out to proof this idea. GrA©gory Joseph of the Java based Magnolia CMS came to help us on the Magnolia side of things. Magnolia is using the JCR reference implementation Jackrabbit for storing its content. After an interesting exchange on their design decisions and our ideas, we started to hack.
Trying to import an XML export from Magnolia in the JCR...
The Nashville PHP User Group has started up an interesting new series - the first in a (hopefully continuing) video series, the NashvillePHP Podcast 101. In this video, they interview Jon Wage, Director of Technology at OpenSky.Cal Evans and Jacques Woodcock sit down with Jon Wage, Director of Technology at OpenSky, and chat about classic first person shooters that got him started in PHP, as well as, a bit about the OpenSky stack.You can watch the interview over on Vimeo. Be sure to give them some...
On the PHPMaster.com site there's a new tutorial (from David Francis) about connecting to a database (a basic introduction using PDO) and doing some of the common operations with the connection.Wouldn't it have been better for them to able to maintain their database where ever they were? Of course, but how? Simple - put it online. [...] In this article I'll focus on the essential elements of PHP you'll need to use an existing Access database online. One other item that's standard with a Windows...
The PHP team has announced PHP 5.4.3 and 5.3.13, fixing two separate security issues.
CVE-2012-2311 and CVE-2012-1823 are both fixed now. These are the CVE numbers for the PHP-CGI bug that has been announced by Eindbazen last week, and extensively covered by myself in various posts.
In addition, CVE-2012-2329 has been fixed, another issue in PHP-CGI. This was a heap overflow triggered by specially crafted HTTP headers and a script executing apache_request_headers().
I have tested my own exploit...
|
Latest PHP Tweets
|