Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Archive for Maj, 2011

Box UK: Unboxing: Silex

Box UK: Unboxing: Silex

On the Box UK site there’s a recent post where they “unbox” Silex the recent micro-framework release from Fabien Potencier and the Symfony community. They test things out by creating a sample application, a simple feedback form.

“Silex is a PHP micro-framework for PHP 5.3. It is built on the shoulders of Symfony2 and Pimple and also inspired by sinatra.” – description from the Silex website. It allows you to pick and choose what components of Symfony2 you want to use. [...] Like Ruby’s Sinatra, it provides a way to get web apps up and running with minimal effort and very little boilerplate code.

He talks about the “installation” process (downloading the phar and dropping it into a directory) and includes code snippets of the parts of his application – the basic routing, twig templates and a POST handler for the form submission.

Source: http://www.phpdeveloper.org/news/16390

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Caching of Zend Framework application configuration file

Caching of Zend Framework application configuration fileGet additional performance gain in your Zend Framework-based application, by caching your main configuration file.


Source: http://feedproxy.google.com/~r/ZendDeveloperZone/~3/3OVaIJJSB5A/14893-Caching-of-Zend-Framework-application-configuration-file

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Announcing the May 2011 Zend Framework Bug-Hunt

Announcing the May 2011 Zend Framework Bug-HuntFor those who haven’t put the reoccurring event in their calendar, this announcement is for you: Zend Framework Monthly Bug-hunt is here again! Tomorrow , Friday and Saturday of May (the 26th , 27th and 28th 2011 ), we’ll be hosting our monthly bug hunt. 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.


Source: http://feedproxy.google.com/~r/ZendDeveloperZone/~3/rwznoMMeiCc/15053-Announcing-the-May-2011-Zend-Framework-Bug-Hunt

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Resources for Learning Vim

Resources for Learning Vim

Over the last few months I’ve found myself using the Vim text editor an increasing amount. Below are some resources that I found particularly useful.

Venturing Into Vim

Jeffery Way, editor and author of Nettuts, has released a 4 part video tutorial series called Learning Vim From The Ground Up. The 4 videos total over 2 hours playtime and cost just $5. They are recorded on Mac OS X at a screen resolution of 1280×720. Way’s experience in screencasting really shows in these videos. He clearly communicates all of his points, step by step, at a good speed. These videos start with the assumption you know absolutely nothing about Vim so they are a great resource for a Vim user of any level.

Vim Cheatsheet

The folks at ViEmu.com (who produce Vim keybindings for MS Office and Visual Studio) have produced a printable Vim cheatsheet. The cheatsheet clearly lays out the lower and upper case functionality for each key as well as some general Vim commands. The text size and colour contrast makes it easy to read from a distance, I recommend you print it out.

vim cheatsheet

VimCasts.org

Drew Neil produces short, focused Vim screencasts and posts them at VimCasts.org. They are typically 5-10 minutes in length and each focus on how to achieve or learn a particular feature of Vim. My favourite VimCast is about Synchronizing plugins with git submodules and pathogen. In it Neil walks you through setting up a directory which holds the .vimrc file and all vim plugins. He then shows how you can install Vim plugins as git submodules using the pathogen plugin for Vim.

vimtutor

vimtutor is an interactive learning application that comes bundled with Vim. It can be started by entering the command vimtutor into the shell. It should take a beginner around 30 minutes to complete. I recommend doing vimtutor daily until you can comfortably complete it without needing to actively think about the keys you are pressing.

Additional Reading

Source: http://query7.com/resources-for-learning-vim

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Resources for Learning Vim

Resources for Learning Vim

Over the last few months I’ve found myself using the Vim text editor an increasing amount. Below are some resources that I found particularly useful.

Venturing Into Vim

Jeffery Way, editor and author of Nettuts, has released a 4 part video tutorial series called Learning Vim From The Ground Up. The 4 videos total over 2 hours playtime and cost just $5. They are recorded on Mac OS X at a screen resolution of 1280×720. Way’s experience in screencasting really shows in these videos. He clearly communicates all of his points, step by step, at a good speed. These videos start with the assumption you know absolutely nothing about Vim so they are a great resource for a Vim user of any level.

Vim Cheatsheet

The folks at ViEmu.com (who produce Vim keybindings for MS Office and Visual Studio) have produced a printable Vim cheatsheet. The cheatsheet clearly lays out the lower and upper case functionality for each key as well as some general Vim commands. The text size and colour contrast makes it easy to read from a distance, I recommend you print it out.

vim cheatsheet

VimCasts.org

Drew Neil produces short, focused Vim screencasts and posts them at VimCasts.org. They are typically 5-10 minutes in length and each focus on how to achieve or learn a particular feature of Vim. My favourite VimCast is about Synchronizing plugins with git submodules and pathogen. In it Neil walks you through setting up a directory which holds the .vimrc file and all vim plugins. He then shows how you can install Vim plugins as git submodules using the pathogen plugin for Vim.

vimtutor

vimtutor is an interactive learning application that comes bundled with Vim. It can be started by entering the command vimtutor into the shell. It should take a beginner around 30 minutes to complete. I recommend doing vimtutor daily until you can comfortably complete it without needing to actively think about the keys you are pressing.

Additional Reading

Source: http://query7.com/resources-for-learning-vim

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

This Week in Web – jQuery Chrono, jMongoBrowser, PHP DI, Titanium

This Week in Web – jQuery Chrono, jMongoBrowser, PHP DI, Titanium

jQuery Chrono

The jQuery Chrono plugin provides an easy, human-readable wrapper around the Javascript functions setTimeout() and setInterval().

Rather than writing:

setTimeout(function() { ... }, 5 * 60 * 1000);

You can write:

$.after(5, "minutes", function() { ... });

Likewise

setInterval(function(){ ... }, 60 * 60 * 1000);

becomes

$.every(1, "hour", function() { ... });

PyGame Examples

The Simpson College Computer Science Department has posted a collection of 15 GUI PyGame scripts. They range from drawing simple graphics onto the screen to full blown games with keyboard control. This is a great resource for those wanting to learn PyGame but don’t know where to start.

jMongoBrowser

jMongoBrowser is a cross platform GUI administration tool for MongoDB written in Java. It provides GUI tools that allow you to easily manage your databases, collections and documents. jMongoBrowser also allows you to execute queries and explore the returned data through the rich user interface.

Titanium Mobile SDK 1.7 RC1

Titanium Mobile SDK 1.7 Release Candidate 1 is now available, providing new functionality, enhancements and bug fixes across iOS and Android. Download and install the release candidate SDK to test drive the following new capabilities:

  • New cross-platform APIs for TCP/IP networking: Sockets and Streams, and supporting APIs for managing Buffers and Codecs.
  • Fastdev for Android speeds prototyping and testing by enabling local changes to be instantly available to your application. Fastdev eliminates the time-consuming steps of packaging, building and deploying apps with each change.
  • Universal Binaries: develop a single app for deployment on iPhone and iPad (requires use of Titanium Studio 1.0 Preview).
  • Improved memory management and stability, especially on iOS.

Read the Release Notes for additional details on all new features and improvements available in the release candidate.

Practical PHP Testing Patterns – Dependency Injection

As part of his Practical PHP Testing Patterns series Giorgio Sironi has written an article discussing Dependency Injection in PHP. I have read alot of articles about Dependency Injection in PHP and I found this article to be one of the better ones. Rather than focusing on a specific Dependency Injection implementation, Sironi talks about the different injection options available in PHP and shows an example of Dependency Injection being useful in a testing environment.

Source: http://query7.com/this-week-in-web-jquery-chrono-jmongobrowser-php-di-titanium

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

This Week in Web – jQuery Chrono, jMongoBrowser, PHP DI, Titanium

This Week in Web – jQuery Chrono, jMongoBrowser, PHP DI, Titanium

jQuery Chrono

The jQuery Chrono plugin provides an easy, human-readable wrapper around the Javascript functions setTimeout() and setInterval().

Rather than writing:

setTimeout(function() { ... }, 5 * 60 * 1000);

You can write:

$.after(5, "minutes", function() { ... });

Likewise

setInterval(function(){ ... }, 60 * 60 * 1000);

becomes

$.every(1, "hour", function() { ... });

PyGame Examples

The Simpson College Computer Science Department has posted a collection of 15 GUI PyGame scripts. They range from drawing simple graphics onto the screen to full blown games with keyboard control. This is a great resource for those wanting to learn PyGame but don’t know where to start.

jMongoBrowser

jMongoBrowser is a cross platform GUI administration tool for MongoDB written in Java. It provides GUI tools that allow you to easily manage your databases, collections and documents. jMongoBrowser also allows you to execute queries and explore the returned data through the rich user interface.

Titanium Mobile SDK 1.7 RC1

Titanium Mobile SDK 1.7 Release Candidate 1 is now available, providing new functionality, enhancements and bug fixes across iOS and Android. Download and install the release candidate SDK to test drive the following new capabilities:

  • New cross-platform APIs for TCP/IP networking: Sockets and Streams, and supporting APIs for managing Buffers and Codecs.
  • Fastdev for Android speeds prototyping and testing by enabling local changes to be instantly available to your application. Fastdev eliminates the time-consuming steps of packaging, building and deploying apps with each change.
  • Universal Binaries: develop a single app for deployment on iPhone and iPad (requires use of Titanium Studio 1.0 Preview).
  • Improved memory management and stability, especially on iOS.

Read the Release Notes for additional details on all new features and improvements available in the release candidate.

Practical PHP Testing Patterns – Dependency Injection

As part of his Practical PHP Testing Patterns series Giorgio Sironi has written an article discussing Dependency Injection in PHP. I have read alot of articles about Dependency Injection in PHP and I found this article to be one of the better ones. Rather than focusing on a specific Dependency Injection implementation, Sironi talks about the different injection options available in PHP and shows an example of Dependency Injection being useful in a testing environment.

Source: http://query7.com/this-week-in-web-jquery-chrono-jmongobrowser-php-di-titanium

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org

Source: http://www.phpdeveloper.org/news/16379

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org

Source: http://www.phpdeveloper.org/news/16379

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

DZone.com: PHP Tool Integration (PHPsrc)

DZone.com: PHP Tool Integration (PHPsrc)

On the PHP on Windows section of DZone.com, Eric Hogue looks at the PHPsrc extension for Eclipse – a handy tool that lets you run some of the common PHP QA tools right from the IDE.

PHPsrc is a plugin that allow you to run PHP_CodeSniffer, PHPUnit, PHP Depend and PHP Copy/Paste Detector directly in Eclipse. The site also says that more tools should come. As you work, you will see any transgression you make. That will save you from breaking the build, but it also makes it easier to fix the problem. After all, you just wrote the faulty lines of code.

He walks you through the install of the plugin and shows you how to set things up to point to the executables on your development environment (complete with some screenshots). There’s even an example of the output for a particularly offensive (standards-wise, of course) piece of code.

Source: http://www.phpdeveloper.org/news/16378

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>