News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Codeception Blog:
The Locator Class
September 27, 2012 @ 09:50:34

The Codeception blog (a BDD testing tool) has a new post on using their Locator class to create more complex tests based on XPath or CSS selectors.

In the latest Codeception 1.1.4 new Locator class was introduced. Basically it should simplify your life in writing complex XPath or CSS locators. Right now it has minimal, yet useful functionality.

The post shows how to combine more than one item for location with either a tag, CSS-based or XPath-based selector. It also shows how to use the "tabindex" method to simulate the movement through a page using the "Tab" key. Finally, there's a quick piece of code showing how to locate an item based on the "href" value. For more information on using Codeception, check out their documentation or the project's main site.

0 comments voice your opinion now!
locator class css xpath combine tab href


Script-Tutorials.com:
Watermark processing on images using PHP and GD
September 09, 2011 @ 12:36:06

On the Script-Tutorials blog today there's a new tutorial posted showing you how to easily add watermarks to your images dynamically, either as a part of a cache generation or on upload.

I will show you how to use GD library. And, main task today is adding watermark to image and generate result as PNG image into browser. We will using PHP and GD library. This is nice library to work with images at server side. Also (as additional tasks) I will draw little frame over image and will draw some text. Between, you can use this method (of adding watermarks in realtime) to protect original photos.

Full code for the script is included in the post, showing the combining of two images into the one finished product. The code is also available for download if you'd like to get hacking right away.

0 comments voice your opinion now!
watermark image gd combine tutorial


Gonzalo Ayuso's Blog:
Speed up page page load combining javascript files with PHP
February 21, 2011 @ 13:01:54

Gonzalo Ayuso has a handy performance tip for getting that little bit extra speed from your page load times - combining Javascript with PHP files.

One of the golden rules when we want a high performance web site is minimize the HTTP requests. Normally we have several JavaScript files within our projects. It's a very good practice to combine all our JavaScript files into an only one file. [...] But if your project is alive and you are changing it, it's helpful to spare your JavaScript files between several files. [...] So we need to choose between high performance and development comfort.

He includes a quick script that runs through your javascript directory (recursively), grabs all of the javascript content from each, combines and minifies them to serve gzip compressed out to the browser.

0 comments voice your opinion now!
javascript tutorial combine minify gzip page load performance


Noupe.com:
20 Useful PHP + jQuery Components & Tuts for Everyday Project
April 07, 2009 @ 12:56:16

Noupe.com has posted a list of twenty useful PHP and jQuery components (and tutorials) that could be useful in everyday projects:

When you combine some neat functionality courtesy of PHP with the cleverness of jQuery you can produce some pretty neat effects. In an effort to help you take it up a notch, we'd like to share some methods for helping your site anticipate a user's next move.

Included in the list are components/tutorials like:

See the full post for even more great PHP+jQuery information.

0 comments voice your opinion now!
jquery component tutorial list project combine backend frontend


PHPImpact Blog:
Server-side Marker Clustering with PHP and Google Maps
February 27, 2009 @ 10:25:14

On the PHP::Impact blog Federico Cargnelutti points out a PHP library that lets you do clustering on Google Maps. What's clustering?

As maps get busier, marker clustering is likely to be needed. Marker clustering is a technique by which several points of interest can be represented by a single icon when they're close to one another.

The tool, created by Mike Tuupola, lets you break up the map into cells and place points inside them. When there's more than one point in a general area, an extra icon is created to reference those points together (cleaning up the map and preventing you from having lot of little Google Maps markers cluttering up your map. Mike also has a blog post about the library showing it in a bit more detail.

2 comments voice your opinion now!
server clustering mark googlemaps miketuupola library combine


Matt Stone's Blog:
Using the Zend Framework ACL Library in Codeigniter
December 22, 2008 @ 09:30:09

Since the Zend Framework is mostly a library of components behind a framework structure, its parts can also be used individually if need be. In this new post Matt Stone shows how to combine the Zend_Acl component (for access control) with a CodeIgniter framework application.

In this post I will explain how to build simple access control functionality for your Code Igniter application using the Zend Framework ACL library. To follow this tutorial you will need a working installation of Code Igniter and a database. You will also need to download the Zend Framework.

He goes through the whole process - code and all - for pulling in and using the Zend_Acl library complete with a database (schema and inserts provided) as well as a sample controller for CodeIgniter to test things out.

0 comments voice your opinion now!
zendframework codeigniter zendacl library combine component


John Highland's Blog:
LifeStreaming Is Simple As Pie
April 25, 2008 @ 12:56:33

John Highland has a quick tutorial showing how to create a lifestream with PHP out of all of the RSS feeds surrounding the multiple social networking and blogging sites you have out there (with the help of SimplePie).

Its not secret, I love social networking, I cant get enough of it. I also love programming and anything internet related. I'm not sure how I came across it, but a PHP based, Object Oriented RSS caching tool named SimplePie caught my attention.

SimplePie offers one piece of functionality that he found particularly useful - the ability to merge RSS feeds easily. He took advantage of the ability and pulled together his Twitter, Flickr, Pownce, Digg and Youtube RSS feeds to make one mega-feed. You can see an example of it in action over on his personal site.

0 comments voice your opinion now!
lifestream simplepie rss feed combine merge tutorial


Zend Developer Zone:
Using Zend_Feed to Merge Multiple RSS Feeds
April 08, 2008 @ 10:32:58

On the Zend Developer Zone, a new tutorial has been posted that anyone looking to "blend feeds" might want to take a look at. It's a guide to using the Zend_Feed component of the Zend Framework to combine the contents of multiple RSS feeds.

As part of my playing around with the Zend Framework, I've decided to make this merged RSS feed using the Zend_Feed component. Actually at the end I've realized that this merged feed idea is quite useless, but at least this post came out of it :-)

He developed it originally as a way to combine his twitter and blog feeds into one thing to provide the latest updates to readers from both in one simple place. He shows how to take in the two feeds, each in its own feed object and merge them into one array. This array is then pushed back out to the visitor an the RSS format (thanks to Zend_Feed_Rss).

1 comment voice your opinion now!
zendframework zendfeed zendfeedrss combine tutorial feed multiple


Jan Lehnardt's Blog:
Using the Zend Framework with Code Igniter (an alternative)
December 27, 2007 @ 08:46:00

On his blog Jan Lehnardt has posted an alternative method for using the Code Igniter framework together with the Zend Framework with only the parts you need.

I want to use Code Igniter for some applications and I want to use some bits of the Zend Framework inside my Code Igniter classes. There is a tutorial explaining how to set it up. But there is a problem.

He reverses the method the other tutorial uses and chooses to go with Code Igniter for the application logic side of things, making use of the helper and autoload functionality of CodeIgniter to pull things together. He includes code to make his method clear.

0 comments voice your opinion now!
codeigniter zendframework framework combine helper autoload example codeigniter zendframework framework combine helper autoload example


CakeBaker:
Use components from the Zend Framework with CakePHP
July 31, 2007 @ 07:57:00

The PHP Geek points out an older article concerning the combination of two of the major PHP frameworks - CakePHP and the Zend Framework.

I am sure you already heard about the Zend framework. It provides some nice components (don't confuse them with Cake components) for which there are no equivalents in the core of CakePHP. Due to the flexibility of CakePHP it is relatively easy to use these Zend components within a CakePHP application (be aware that the Zend Framework requires PHP5).

The tutorial is a simple five step process where the only difficult part is adding in the correct include path information in the Zend_Feed component.

0 comments voice your opinion now!
zendframework cakephp framework combine component zendframework cakephp framework combine component



Community Events





Don't see your event here?
Let us know!


code configure api language community developer laravel series install podcast wordpress release unittest threedevsandamaybe introduction library interview list homestead application

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework