yasdb - Yet Another Sync for db (MySQL)
Yet Another Sync for db (MySQL)
Class Connect Database
Cradlecore For PHP
for what kind of project
So letA's start with Backbone.
The documentation of Backbone is available under the following link. The complete documentation is written on a single page. Its very easy to search for topics you are interested in. After a short introduction youA'll find one or more code examples for each topic. These examples are nicely...
A little over a year ago I was plunged into a nightmare world. I had accepted a new job as the lone PHP developer at a relatively small business, and when I finally got my hands on the code, I realized I'd gotten myself into a giant mess. While I'm happy at my job today, my first months were filled with disbelief, horror, anguish, doubt, and despair as I began to dig into the legacy codebase I had inherited.
Things were a little dicey those first few months. I'd seen really bad code before (I've written...
PHP Advent 2011: Out with the Old, In with the... Old?: Hey, I'm in this year's PHP Advent! Check out some MySQL goodness and how it's changed over the years!
Christmas time, time for presents! Version 1.2.0-alpha of the free and open source PHP mysqlnd replication and load balancing plugin has been made available on PECL. PECL/mysqlnd_ms makes using any kind of MySQL database cluster easier featuring:
Read-write splitting: automatic, SQL hints, can be disabled
Load balancing: random, round robin, ...
The PHP development team is proud to announce the third release candidate of PHP 5.4. PHP 5.4 includes new language features and removes several legacy (deprecated) behaviours. Windows binaries can be downloaded from the Windows QA site. THIS IS A RELEASE CANDIDATE - DO NOT USE IT IN PRODUCTION!. This is the third release candidate. The release candidate phase is intended as a period of bug fixing prior to the stable release. No new features should be included before the final version of PHP 5.4.0....
John Conde has shared his multi-part guide to getting your application integrated with the popular payment service Authorize.net.As an Authorize.Net blogger, I decided to write a series of articles that outlined not only the basics of handling an ecommerce transaction, but also included some best practices as well. These were demonstrated using a web-based payment form that when complete forms a real-world, production ready solution. Since there was a lot of ground to cover, I broke the tutorial into...
Chris Hartjes and Ed Finkler (two well-known PHP community members) have started up a podcast where they talk about, basically, whatever they want in their "piss-and-moan-driven-development" style. In their first episode, they talk about what they hate about PHP.Listen to a couple old dudes complain that they don't like PHP anymore. Yes, I know, this sounds pretty compelling.They specifically mention the PUT method support in PHP. You can download the mp3 (about an hour and a half long) and check out the...
New on PHPMaster.com there's a tutorial from Lukas White about targeting users using geolocation based on the Geonames web service and a latitude/longitude. His example makes a call to find the closest "place" to the given coordinates.Location-aware applications rely on being able to locate where you are, and this is what geolocation is all about. After all, once the application knows your location, it can go on to find the nearest store, guide you through the appropriate route to a destination, or...
DevShed.com has a new tutorial posted today looking at how to sanitize data in your application, specifically data coming from the user, when calling shell commands.Neglecting to sanitize user input that may subsequently be passed to system-level functions could allow attackers to do massive internal damage to your information store and operating system, deface or delete Web files, and otherwise gain unrestricted access to your server. And that's only the beginning.He starts with a "real world" example...
Phil Sturgeon (an expert in all things related to the Fuel PHP framework) has written up a tutorial for NetTuts.com about creating a basic admin panel for your application based on the framework. This is the second part of a series looking at Fuel, building on the topics from the first.In the first part of this series, we took a look at the basics of the FuelPHP framework. In this second-part, we'll be stepping it up a gear and move onto some more advanced topics! We'll be creating an admin panel for our...
Continuing on with his webcast series looking at using the Slim microframework to create a RESTful web service with JSON Output, John Lebensold takes the code from the previous tutorials (part one, two, three) and adds handling for DELETE to remove values from the data.This tutorial will show you how to add jQuery RESTful calls for using the DELETE verb when deleting items via a JSON REST interface.You'll definitely need to check out either the previous tutorials in the series to follow along with the...
Bradley Holt has a new post to his blog announcing the Boston PHP Northwest Conference happening in August (2012) in Cambridge, Massachusetts:I'm excited to be able to announce that the first ever Boston PHP Northeast Conference will be taking place on Saturday, August 11th and Sunday, August 12th at Microsoft's NERD Center in Cambridge, MA. This regional event is intended for PHP beginners, enthusiasts, and professionals alike.The conference will not just cover PHP but also general web development...
Latest PECL Releases:
Everyone talks about automated testing for your code, but that's only half of the testing I need. What about the front end? Forms need some testing love, too, and SimpleTest is how I get it.
SimpleTest is very easy to install. Just download the latest version, upload it to your server, then unzip it. That's it! Now you can get started writing tests.SimpleTest can handle all of the unit testing for your normal behind-the-scenes code, but it also has an internal web browser, so it can also test the front...
This is the first in what I hope to be a multi-part series on using Magento. A I've been working with it since June to run one of our core sites at Half Off Depot.
During these six months, we have:
Built an incredible team
Had our application servers swap to disk and otherwise go belly up, on numerous occasions
Moved from FastCGI back to mod_php
Tuned Apache a bit to squeeze more out of our application servers
Moved from a single front end webserver to multiple
Introduced MySQL master-slave replication,...
As is mentioned on CodeIgniter.com, they've set up a survey to find out more information about how PHP are using frameworks.The anonymous survey is very brief - just seven questions - and should take no more than five minutes or so to complete. The survey is open immediately and will remain open over the weekend.The seven questions on the survey include questions about framework usage, sets of how you feel about different framework-related topics, what editor you usually use (and for how long), how you...
In this new post from Watts Martin he suggests that "PHP is not an acceptable COBOL" - the language, while popular and useful now, may not age as well in the future (say 10 or 15 years).PHP is to the web what Visual Basic is to Windows, but even more so: a powerful enough language to do nearly anything you want, ubiquitous, easy to get up and running (on many web hosts it's pre-installed), and forgiving of shitty code. [...] While I'm happy to see PHP start getting "modern" language bits (you Lisp...
On PHPMaster.com today Callum Hopkins has written up an introduction to the php.ini, the heart and soul of any PHP installation. With configuration options for just about everything, it can be confusing. This tutorial hits some of the highs and most commonly updated settings.Anyone who has a server using PHP has undoubtedly heard of php.ini - it's the configuration file used to control and customize PHP's run-time behavior. It provides a simple way to configure settings. [...] In this article I'll give...
I'm excited to be able to announce that the first ever Boston PHP Northeast Conference will be taking place on Saturday, August 11th and Sunday, August 12th at Microsoft's NERD Center in Cambridge, MA. This regional event is intended for PHP beginners, enthusiasts, and professionals alike. The current plan is to have four tracks:
User Experience (UX)
Boston PHP will be hosting the event in partnership with other northeast regional user groups including the Burlington,...