|
Sponsored Link
|
The PHPBenelux Conference is ready for its third edition and takes place
January 27th & 28th in Antwerp (Belgium).
We're very proud to have a great
lineup this year and some awesome social events. All information about the
conference can be found on our conference website
http://conference.phpbenelux.eu/2012.
There are some tickets still available, get them at http://shop.phpbenelux.eu.
The PHP development team announces the 5th
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 5th 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....
Chris Hartjes is asking for suggestions to help solve a common problem for developers (remote or otherwise) that have to develop in a non-local setup: a better method for remote code development.I've been playing around with Sublime Text (because of the awesome vim bindings) and was thinking about why do I always have to be logged into the remote server to do my work. Normally I connect using SSH, then attach to my tmux session and then fire up vim. This is okay but it lacks a certain elegance in it's...
As Paul Jones mentions in this new post to his blog the Aura project, a PHP framework, originally targeted at PHP 5.3 has changed its direction a bit - they've shifted from a focus on PHP 5.3 to the upcoming PHP 5.4 release.When I initially announced the Aura project, it was targeted at PHP 5.3. With a stable release of PHP 5.4 impending, we have moved the target to PHP 5.4. In addition, we have made 1.0.0-beta1 releases of almost all the component packages. (See an earlier announcement from Hari KT.)The...
Stoimen Popov has a new post to his blog today comparing the performance of bitwise division versus the normal "/" division operator.Recently I wrote about binary search and then I said that in some languages, like PHP, bitwise division by two is not faster than the typical "/" operator. However I decided to make some experiments and here are the results.According to his results using the bitwise method is slightly faster, but you'd only really notice it when working with large sets of data (like his...
On the 7php.com blog Khayrattee Wasseem has a few suggestions about how to "build your geek cred" as a PHP developer - suggestions of resources and things you can do to get more involved in the language and its community.If you've read the PHP|Architect Magazine - March 2011 Edition, you have surely enjoyed the nice article by Jason Austin (a PHP developer from Raleigh, NC) titled "Good PHP help is hard to find". Jason talks about 'the why' and 'the how' to distinguish yourself as a qualified PHP...
Popular posts from PHPDeveloper.org for the past week:Sankuru Blog: A simple bytecode compiler with virtual machine, written in Php, for the EL language
Henrik Bjørnskov's Blog: Symfony2: Add Cross Site Request Forgery protection to login forms
Mark Story's Blog: New errors in PHP 5.4
Ed Finkler's Blog: The MicroPHP Manifesto
Freek Lijten's Blog: The real problem of the hash table dos attack
NetTuts.com: Creating an API-Centric Web Application
Hasin Hayder's Blog: Getting comfy with PhpStorm - one of...
This is about simple random walk (as defined in theory). Uses the cairo library. A ball walks randomly on the screen and leaves a trace behind. read more
In a recent post to his blog Jeremy Cook has a tutorial about using the Countable interface (part of the SPL) in your objects to make them play nicely with functions like count.PHP provides a number of predefined interfaces and classes that can really make your life as a developer easier but which are often overlooked. The functionality offered by the Standard PHP Library (SPL) and the predefined interfaces is extremely cool and very powerful but very underutilized. [...] I thought I'd write a few...
Sharon Levy has a new post to her blog showing a trick she's come up with to show the PHP version information (usually found in the phpinfo) even when it's disabled.Sometimes the most crucial, basic piece of information can seem so hard to find. For example, suppose you wanted to find out what version of PHP your remote webhost provides to shared hosting users? What would you do? [...] For development purposes it can be helpful having phpinfo() available, but on a live shared host, you may discover as I...
On PHPClasses.org today the latest episode (#19) of the "Lately in PHP" podcast has been posted. In it Manual Lemos and Ernani Joppert: talk about the concept of a JIT (just in time) compiler for PHP (such as HipHop or Phalanger).JIT compilation is the main topic of the episode 19 of the Lately in PHP podcast presented by Manuel Lemos and Ernani Joppert who received as guests Miloslav Beno of the Phalanger team and Nuno Lopes of the PECL LLVM project to discuss this and other interesting topics of the...
Brian Swan has posted another tutorial in a series looking at testing applications on the Azure platform. In this latest post he talks about how to automate your PHPUnit tests as a part of the start up of the instance.In this post, I'll show you how to deploy your PHPUnit tests with your application, have the tests run as a start up task, and have the results written to your storage account for analysis. Attached to this post is a .zip file that contains a skeleton project that you can use to...
On PHPMaster.com today there's a new tutorial posted about using the Phing build tool to automate a process, usually a build for a website launch. In his example, he shows a simple "Hello World" example and how to work with multiple targets in the same build file.Phing is a PHP project build tool based on Apache Ant. A build system helps you to perform a group of actions using a single command. [...] Phing helps overcome [human error] issues by automating tasks like running unit tests, applying database...
//Definition of widgets
$scrolled_win = new GtkScrolledWindow();
$textview = new GtkTextview();
$buffer = new GtkTextBuffer();
$win = new GtkWindow();
//Modify widgets
$scrolled_win-set_policy(1,1);
$textview-modify_font(new PangoFontDescription('Courier New 14'));
$win-maximize();
$win-connect_simple('destroy', array('Gtk', 'main_quit'));
//Pack widgets
$scrolled_win-add($textview);
$textview-set_buffer($buffer);
$win-add($scrolled_win);
/*** Get tags table ***/
$tag_table = $buffer-get_tag_table();...
Anthony Ferrara has posted his own response to the recently posted MicroPHP Manifesto (from Ed Finkler that has caused quite a stir in the PHP community). In the post, Anthony mentions some of the points he both agrees and disagrees with about the manifesto.I came across a rather interesting post yesterday entitled The MicroPHP Manifesto. The author made clever use of a very interesting analogy (drum players) to try to prove his point that less is more. The article makes a very interesting read, and I...
Fabien Potencier is back with the next installment of his "Building a framework on top of Symfony2" tutorial series with this look at using the HttpFoundation component to use the Request and Response classes to handle HTTP interaction. (Part one is here.)The first step towards better code is probably to use an Object-Oriented approach; that's the main goal of the Symfony2 HttpFoundation component: replacing the default PHP global variables and functions by an Object-Oriented layer.He shows how using...
Here's what was popular in the PHP community one year ago today:Tony Lukasavage's Blog: PHP Debugging on IntelliJ IDEA 10 with Xdebug
Ibuildings techPortal: Video Interview: Kevlin Henney
SaniSoft Blog: Introduction to creating desktop applications with PHP and Titanium
NetTuts.com: Quick Tip: Email Error Logs with PHP
Gonzalo Ayuso's Blog: My VIM configuration for PHP development
PHP.net: PHP 5.3.5 and 5.2.17 Released!
DZone.com: Java PHP Python -- Which is "Faster In General"?
SitePoint PHP Blog: How...
Before we dive into the code refactoring, I first want to step back and take a
look at why you would like to use a framework instead of keeping your
plain-old PHP applications as is. Why using a framework is actually a good
idea, even for the simplest snippet of code and why creating your framework on
top of the Symfony2 components is better than creating a framework from
scratch.
I won't talk about the obvious and traditional benefits of using
a framework when working on big applications with more...
In January 2011, the second iteration of the Plat_Forms contest had been conducted by FU Berlin Heise and OSBF. 16 Teams with 3 developers each were all given the same task. They had to implement as much as possible of the given requirements in a given time span in a controlled environment. After the event, the resulting code has been evaluated by the team around Prof. Lutz Prechelt and Ulrich StA¤rk. The results were then presented on November 25, 2011.
For the PHP Side, i was asked to select the...
The Debate of Making PHP Faster using a JIT Compiler - Lately in PHP podcast episode 19
By Manuel Lemos
The official PHP implementation is evolving too slowly, while alternative implementations like Phalanger and Facebook HipHop can run PHP faster thanks to the use of JIT compiler engines.
JIT compilation was the main topic of the episode 19 of the Lately in PHP podcast presented by Manuel Lemos and Ernani Joppert who received as guests Miloslav Beno of the Phalanger team and Nuno Lopes of the PECL...
|
|