 | News Feed |
 | Jobs Feed |
Sections
|
Rob Allen: Caching your ZF2 merged configuration
by Chris Cornutt June 19, 2013 @ 09:43:28
Rob Allen has a a new post to his site today showing how you can cache the merged settings from all of your configuration files combined in a Zend Framework v2 application.
Zend Framework 2's ModuleManager has the ability to cache the merged configuration information for your application. This is very useful as it allows you to separate out your configuration within the config/autoload directory into logical files without worrying about the performance implications of lots of files.
There's some ZF2 configuration options that tell it to cache this data once it's loaded the first time, but he notes one issue with this - caching in development. It can be annoying when you make a change and nothing happens because it's cached. To prevent this he shows you how to only cache if the application is marked as in production (based on the "APPLICATION_ENV"). Separate main configuration files are made for each environment, one that caches and one (for dev) that doesn't.
voice your opinion now!
cache merged configuration zendframework2 tutorial production development
Community News: Packagist Latest Releases for 06.19.2013
by Chris Cornutt June 19, 2013 @ 08:08:22
Recent releases from the Packagist: - wave-framework/wave (v3.1.0)
Wave is a lightweight PHP5.3 MVC framework
- mjohnson/admin (0.25.1)
A CakePHP admin plugin.
- mjohnson/forum (4.0.1)
A CakePHP forum plugin.
- mjohnson/utility (1.4.4)
A collection of CakePHP utility libraries.
- mtrbean/mongo-json (1.0.1)
A helper library for serializing MongoDB types to JSON string
- hampel/twitter (0.3.0, 0.2.0)
Wrapper for Twitter API using Guzzle
- uecode/amazon-bundle (v0.1.3)
Symfony2 Uecode Amazon Bundle
- mjohnson/transit (1.3.5, 1.3.4)
A file uploader with support for validation, image transformation and remote transportation.
- herrera-io/template (2.0.0, 1.2.0)
A simple templating engine using regular PHP files.
- aws/aws-sdk-php (2.4.0)
AWS SDK for PHP
- mpratt/simple-lifestream (3.1.0)
A library that returns lifestream events from a bunch of social sites/services.
- teamonetickets/sluggo (1.0.0)
Makes URL slugs out of text strings.
- widop/http-adapter-bundle (1.0.1)
Issue HTTP request.
- widop/google-analytics-bundle (1.0.2)
Google certificate-based authentication in server-to-server interactions with google analytics
- wyrihaximus/phunin-node (0.2.2, 02.2, 0.2.1)
munin-node in PHP
- os/tools-bundle (2.3.5)
OS Tools Bundle for Symfony2
- turnaev/dev-generator-tool-bundle (v1.1.0, v1.0.9, v1.0.8)
Console tool bundle for Symfony 2.2+
- bcen/silex-dispatcher (0.4.5)
A Silex plugin
- mozart/loader (v0.1.0)
Mozart Class Loader
- crynobone/robotix (v2.0.0-RC1)
Robots.txt Extension for Orchestra Platform 2
- amldigital/twitterfeed (0.0.3, 0.0.2)
A quick and easy way to deploy a twitter feed on a website.
- adfab/game (0.2.10, 0.2.9)
The Game module !
- adfab/user (0.1.25)
Module managing user
- adfab/reward (0.1.2, 0.1.1)
Module managing rewards features
- bzick/cytro (1.0.2)
Cytro - fast template engine for PHP
- cviebrock/eloquent-sluggable (1.0.0)
Easy creation of slugs for your Eloquent models in Laravel 4.
- nelmio/api-doc-bundle (2.3.0)
Generates documentation for your REST API from annotations
- barryvdh/laravel-ide-helper (v1.3.2)
Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.
- orchestra/control (v2.0.0-RC1)
Orchestra Platform Control Extension
- masterminds/html5 (1.0.0-alpha2)
An HTML5 parser and serializer.
- astina/redirect-manager-bundle (1.1.0)
User gets ability to specify redirection through web GUI.
- wowo/wowo-newsletter-bundle (v1.2.8)
Newsletter Bundle for Symfony2 (with messages queuing in beanstalkd)
- geoffroy-aubry/helpers (v1.3.0)
Some helpers used in several personal packages and a Debug class useful for don't forgetting where debug traces are.
- yfix/yf (1.0)
YF PHP Framework
- sybio/image-workshop (2.0.3)
Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)
- turnaev/mysql-workbench-schema-exporter (v1.0.4)
MySQL Workbench Schema Exporter
- levare/modules (1.1.4)
A Module Manager for Laravel 4
voice your opinion now!
Community News: Latest Releases from PHPClasses.org
by Chris Cornutt June 19, 2013 @ 07:05:46
- CleanTalk PHP Spam Filter Class
Package:
Summary:
Detect spam in comments using the CleanTalk API
Groups:
Author:
Description:
This class can detect spam in comments using the CleanTalk API...
Read more at http://www.phpclasses.org/package/8096-PHP-Detect-spam-in-comments-using-the-CleanTalk-API.html

- my-validation
Package:
Summary:
Validate request values according to custom rules
Groups:
Author:
Description:
This class can validate request values according to custom rules...
Read more at http://www.phpclasses.org/package/8099-PHP-Validate-request-values-according-to-custom-rules.html

- My Validation
Package:
Summary:
Validate request values according to custom rules
Groups:
Author:
Description:
This class can validate request values according to custom rules...
Read more at http://www.phpclasses.org/package/8099-PHP-Validate-request-values-according-to-custom-rules.html

- cLogger
Package:
Summary:
Send error messages to log files and by email
Groups:
Author:
Description:
This class can send error messages to log files and by email...
Read more at http://www.phpclasses.org/package/8103-PHP-Send-error-messages-to-log-files-and-by-email.html

- ExecScript
Package:
Summary:
Execute a Web page script from the command line
Groups:
Author:
Description:
This class can execute a Web page script from the command line...
Read more at http://www.phpclasses.org/package/8097-PHP-Execute-a-Web-page-script-from-the-command-line.html

- PHP Text to Speech Class
Package:
Summary:
Generate speech audio to say a given text
Groups:
Author:
Description:
This class can generate speech audio to say a given text...
Read more at http://www.phpclasses.org/package/8106-PHP-Generate-speech-audio-to-say-a-given-text.html

- PHP GIF Animation Class
Package:
Summary:
Draw graphics and generate animated GIF images
Groups:
Author:
Description:
This package can draw graphics and generate animated GIF images...
Read more at http://www.phpclasses.org/package/8092-PHP-Draw-graphics-and-generate-animated-GIF-images.html

- Viva PHP Send SMS Class
Package:
Summary:
Send SMS messages to Vivacom phones via their site
Groups:
Author:
Description:
This class can send SMS messages to Vivacom phones via their site...
Read more at http://www.phpclasses.org/package/8105-PHP-Send-SMS-messages-to-Vivacom-phones-via-their-site.html

- MagicMin
Package:
Summary:
Merge and minify and JavaScript and CSS files
Groups:
Author:
Description:
This class can merge and minify and JavaScript and CSS files...
Read more at http://www.phpclasses.org/package/8091-PHP-Merge-and-minify-and-JavaScript-and-CSS-files.html

voice your opinion now!
PHPMaster.com: Data Structures for PHP Devs Stacks and Queues
by Chris Cornutt June 18, 2013 @ 11:42:37
On PHPMaster.com today there's a new tutorial - the first part in a series - looking at data structures. In this first post Ignatius Teo looks at the concepts of "stacks" and "queues".
Most of us are familiar with "stacks" and "queues" in normal everyday usage. But, what do supermarket queues and vending machines have to do with data structures? Let's find out. In this article, I will introduce you to two basic abstract data types - the Stack and the Queue - which have their conceptual origins in everyday usage.
He introduces some of the common concepts behind these two ideas and includes some sample code showing how to implement them. He also mentions some of the SPL functionality that's bult into PHP to handle some of this. The SplStack and SplQueue objects take some of the hassle out of it for you.
voice your opinion now!
data structure stack queue tutorial splqueue splstack
Alessandro Nadalin: Integrating Twig in Your Legacy PHP Code
by Chris Cornutt June 18, 2013 @ 10:19:49
Alessandro Nadalin has posted a two part series to his site to help you get the Twig templating tool integrated with your legacy codebase.
It might happen that you are working on a legacy code that is years old, with its own templating mechanism1 that doesn't really allow you to take advantage of the benefits that a structured and object-oriented engine like Twig. In this situations, when a complete replacement would cost too much to your organization, you can take advantage of a wild integration between this advanced template engine and your existing code.
In the first part of the series, he proposes integrating it at the base level, essentially wrapping the "render" method of your framework of choice. In the second part of the series, though, he comes back with a "less wild" approach that also lets you take advantage of some of the other features twig has to offer. He modifies the previous example to output a template file and reuse that in the Twig "render" call.
voice your opinion now!
twig legacy codebase integration template render
Community News: Packagist Latest Releases for 06.18.2013
by Chris Cornutt June 18, 2013 @ 08:01:22
Recent releases from the Packagist: - sabre/dav (1.8.6, 1.7.8, 1.6.10)
WebDAV Framework for PHP
- sabre/vobject (2.1.0, 3.0.0-beta3)
The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects
- hautelook/gearman-bundle (0.5.2, 0.5.1)
Symfony2 Bundle that provides a service to submit Gearman jobs
- levare/modules (1.1.3)
A Module Manager for Laravel 4
- intouch/laravel-newrelic (1.0.3)
Laravel 4 NewRelic Integration
- ruckusing/ruckusing-migrations (0.1.2)
Framework for generating and managing database migrations
- michalsvec/nette-opauth (v0.4.1, v0.4)
Opauth extension for Nette framework
- n98/magerun (1.70.0)
Tools for managing Magento projects and installations
- jlogsdon/cli (v0.9.4)
Console utilities for PHP
- fillup/zfauthsaml (0.1)
ZendAuthentication SAML adapter. Uses existing simpleSAMLphp install.
- payment/saferpay (2.0)
Saferpay payment service library
- loic-sharma/profiler (v1.1.2)
A PHP 5.3 profiler based off of Laravel 3's Anbu.
- propel/propel-bundle (1.2.6)
Integration of Propel in Symfony2
- kmd/logviewer (0.1.7)
Laravel 4 log file viewer.
- wikibase/data-model (0.4)
PHP implementation of the Wikibase DataModel
- kunstmaan/voting-bundle (v2.2.8)
A lot of sites enable users to vote or participate in actions where Facebook Likes are counted and rewarded. The KunstmaanVotingBundle was created to allow a faster setup of that kind of actions and will provide a backlog of votes your users casted. That way you can look for irregularities and automatically stop campains when their deadline has expired. It will provice support for votes on your site only but also for external social networks as Facebook so you can worry about you ideas and not how to implement it.
- kunstmaan/utilities-bundle (v2.2.8)
The KunstmaanUtilitiesBundle makes your life easier by providing a couple of small but usefull helper services you can use and re-use in your applications. We already implemented an easy to use cipher service and a shell helper service for you but feel free to send in a pull request with your additions. The shell helper allows you to run apps in the background, see if a process is running and has a method to kill a running process. The cipher service allow you to encode and decode strings using the Rijndael 256 cipher
- kunstmaan/tagging-bundle (v2.2.8)
Uses FabienPennequin/DoctrineExtensions-Taggable to add tagging to the Kunstmaan bundles
- kunstmaan/sitemap-bundle (v2.2.8)
A sitemap bundle to generate a sitemap for your Kunstmaan bundles website based on its Nodes
- kunstmaan/seo-bundle (v2.2.8)
Annotating content with metadata for social sharing and seo purposes cannot be overlooked nowadays. The KunstmaanSeoBundle contains default editing functionality for OpenGraph data, meta descriptions, keywords and titles and Metriweb tags. Because the metatagging and tracking options are always changing, a free field to add custom header information is provided as well.
- hampel/twitter (0.1.0)
Wrapper for Twitter API using Guzzle
- kunstmaan/search-bundle (v2.2.8)
The KunstmaanSearchBundle
- kunstmaan/pagepart-bundle (v2.2.8)
The KunstmaanPagePartBundle forms the basis of our content management framework. A page built using a composition of blocks names pageparts. These pageparts allow you to fully separate the data from the presentation so non-technical webmasters can manage the website. Every page can have it's own list of possible pageparts, and pageparts are easy to create for your specific project to allow for rapid development.
- kunstmaan/node-search-bundle (v2.2.8)
The KunstmaanNodeSearchBundle
- kunstmaan/node-bundle (v2.2.8)
All websites need pages(we call them nodes) but you probably don't want to spend too much time building them. Plus they should look pretty and contain the right content and that takes time. We make sure you have to spend less time managing your pages but still offer you flexibility so you can focus on more important tasks and don't have to worry about it.
- kunstmaan/media-bundle (v2.2.8)
To build your perfect website you probably need images, video's or maybe even a presentation too. The Kunstmaan Media Bundle handles all those media assets and centralizes them so you can find your content just the way you like it: fast and efficiently. No central asset management module is useful without some pretty advanced image editing functionality. To provide this we have integrated the Aviary image editing service right from the interface.
- kunstmaan/generator-bundle (v2.2.8)
If you're like us, you like to build applications without having to do the same things over and over again and dislike copy/pasting code and change a couple of words every time you need feature X. The KunstmaanGeneratorBundle gives you the possibility to generate code for new bundles, adminlists and can even make you a basic default website. That way you don't have to wait too long before you see some results and you have more time to do other things. Easy no?
- kunstmaan/form-bundle (v2.2.8)
Managing forms, fields and their submissions by the user is a key functionality missing in most platforms. By leveraging the KunstmaanPagePartBundle system in the KunstmaanFormBundle users gain an easy way to create and manage the form on their website, again without having to worry about the technical side of things.
- kunstmaan/behat-bundle (v2.2.8)
Extends the MinkContext and adds some additional (sub)contexts like creating a screenshot when a step fails or wait for Ajax to finish before continuing assertPageContainsText()
- kunstmaan/article-bundle (v2.2.8)
Add articles to your website. Use the KunstmaanGeneratorBundle to generate a new Overview/Detail article section for your website
- kunstmaan/adminlist-bundle (v2.2.8)
Every website contains several lists of content ranging from articles on a blog, to drop down values. The KunstlaanAdminListBundles takes CRUD a step further by supplying filtering, exports to csv and editing capabilities to these content entities.
- kunstmaan/admin-bundle (v2.2.8)
The Kunstmaan Admin bundle supplies your project with a basic, elegant backend interface you can modify and extend so you can make your perfect admin module. The clean interface makes it straightforward for you and the people working with it to change settings and modify content.
- swiftmailer/swiftmailer (v5.0.1)
Swiftmailer, free feature-rich PHP mailer
- xiphe/thedebug (v4.1.0)
Multiple Handy debugging methods.
- jonnybarnes/dumbquotes (v0.5.1, v0.5, v0.4, v0.3)
Pugre all the dumb quotes!
- amldigital/twitterfeed (0.0.1)
A quick and easy way to deploy a twitter feed on a website.
- turnaev/dev-generator-tool-bundle (v1.0.6)
Console tool bundle for Symfony 2.2+
- sammaye/mongoyii (1.2.8)
A Yii MongoDB ORM
- leaseweb/api-caller-bundle (v1.0.2)
cURL API call functionality with full Web Debug Toolbar integration
- pugx/autocompleter-bundle (v3.0.0)
Add an autocomplete type to forms
- imt/data-grid-bundle (0.9.0)
This bundle provides a simple integration of the IMTDataGrid library
- adfab/cms (0.1.2)
CMS features for all AdFab ZF2 dev
- adfab/game (0.2.8, 0.2.7)
The Game module !
- sunspikes/php-amadeus (v0.1)
Amadeus flight booking library for PHP
voice your opinion now!
Community News: Latest PECL Releases for 06.18.2013
by Chris Cornutt June 18, 2013 @ 07:06:55
Latest PECL Releases:
- PDO_INFORMIX 1.3.1
Fixed: Segmentation fault while fetching null value for Integer Field in specific case
- riak 0.4.2
package.xml is hard but it should work now
- riak 0.4.0
First PECL release
- riak 0.4.1
Remember to include all files in package.xml
- BLENC 1.1.2b
New package.xml description, BLENC now display version in phpinfo.
- jsonc 1.3.1
- windows build support (thanks to weltling)
- build as json.so or jsonc.so (--with-jsonc option)
- rename LIBJSON_VERSION to HAVE_LIBJSON (internal only)
- parse 64 bits integer as float, or string, on 32 bits build
- PDO_CUBRID 9.1.0.0002
Fixed bugs:
1) APIS-546: The PDO driver does not support for the connection between the PDO and CUBRID shard broker.
2) APIS-550: The PDO driver does not support prepare and query function in CUBRID shard db.
- CUBRID 9.1.0.0003
Fixed bugs:
1) APIS-548: The PHP driver does not support non-prepared statement for CUBRID shard database.
2) APIS-546: The PDO driver does not support for the connection between the PDO and CUBRID shard broker.
3) APIS-550: The PDO driver does not support prepare and query function in CUBRID shard db.
4) APIS-551: The PHP driver does not support shard_key sql hint in CUBRID shard db.
voice your opinion now!
Sameer Borate: Simple user authentication in Laravel 4
by Chris Cornutt June 17, 2013 @ 14:22:01
Sameer Borate has a new post today showing how you can do simple user authentication in a Laravel 4-based application using the built-in Auth functionality.
With the recent release of Laravel 4, PHP developers have at their disposal one of the finest frameworks for application development. As with all new frameworks, it is always good to write some quick code to get a feel for the underlying architecture. The following post shows a simple authentication application using Laravel.
He walks you through the creation of the simple "users" table, the configuration the Auth class will need to connect and authenticate and the form for the login. He also shows the steps for the actual authentication process as well as the code for the routes to make it all work. Additionally, he shows how to restrict pages to only those with the "admin" level access via an auth filter. You can download the example code here.
voice your opinion now!
user authentication laravel4 tutorial database auth admin
php|architect: Re Branding php[architect]
by Chris Cornutt June 17, 2013 @ 13:03:17
The php|architect group (magazine, conferences, etc) has kicked off a rebranding of their long-time product line to move it forward and give it a simpler, cleaner look.
Arbi Arzoumani did a wonderful job with php|architect's image (logos, colors and fonts as well as magazine, conference and website design). I've always admired what he did with the brand, especially since he wore so many hats at BP. He was actually in the process of a brand update when musketeers took over. [...] Taking his direction further, I simplified the whole image (logo, fonts and colors) to a more colorful and less cluttered version. I also decided to unify the brand across all product lines, including the magazine, websites, books, summits and conferences.
Additionally, they've changed the "name" used for the company away from "php|architect" to a slightly different format - "php[architect]" to help unify it across the board with other offerings. Don't worry, you'll still be getting the same great content and community events from the group, it's just getting a "fresh coat of paint."
voice your opinion now!
phparchitect rebranding magazine product conference
|
Community Events
Don't see your event here? Let us know!
|