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

SitePoint PHP Blog:
Responsive Images Using Picturefill and PHP
October 10, 2013 @ 10:08:11

On the SitePoint PHP blog there's a new post from Lukas White showing you how to use the Picturefill plugin (Javascript) along with PHP to make responsive images.

One of the key challenges with responsive web design, and a subject of much discussion in recent years, is how to deal with images. Setting a max-width on image elements enables designers to allow their size to adapt to the page dimensions, but in itself that approach can lead to far bigger images being downloaded than are required. [...] You can use a similar approach [to "source sets" of images] straight away and in a cross-browser compatible manner by using Javascript; one such method is the Picturefill plugin. In essence, Picturefill allows you to specify different src attributes for an image, each image file corresponding to a different media query. Thus

The tutorial helps you create an application, powered by the Slim framework and the ImageMagick extension, for the basic structure. He then grabs the Picturefill library and drops them into place. Some sample code is also included showing how to create the HTML structure for the images and the Javascript to handle the switching.

0 comments voice your opinion now!
responsive image picturefill tutorial resolution source set

Link: http://www.sitepoint.com/responsive-images-using-picturefill-php/

Anthony Ferrara:
Programming With Anthony - Responsive Web Design
December 27, 2012 @ 11:44:34

Anthony Ferrara has posted his latest video in his development-related series "Programming with Anthony". In this latest video, he takes a look at responsive design with a "guest host" Sam Richard.

This week we are joined by Responsive Design thought leader Sam Richard. He introduces us to the concept of responsive web design, tells us a little bit about its history and talks about best-practice and the future of the web!

You can catch up on Anthony's previous videos in his playlist over on YouTube including ones covering encryption, prepared statements and boolean logic.

0 comments voice your opinion now!
responsive design video series samrichard


PHPClasses.org:
Responsive AJAX applications with COMET
September 27, 2006 @ 13:44:10

From PHPClasses.org today, there's a new article describing the combination of a few technologies - more specifically Ajax, Comet, and PHP - to create responsive applications.

This post describes an approach used to implement highly responsive AJAX applications using the COMET approach. It describes in detail how the AJAX COMET approach can be implemented in PHP.

It also discusses how HTTP compression and chunking affect AJAX response delays, as well aspects that may influence the choice between Apache 1.3.x with mod_gzip versus Apache 2.x with mod_deflate for AJAX COMET applications.

Manuel breaks the tutorial up into sections:

  • Multiple response AJAX requests
  • COMET: Multiple response AJAX request implementation
  • HTTP compression
  • Page compression delays
  • Avoiding mod_gzip dechunking
  • Apache 2.2.x with mod_deflate
For each topic, there's a bit of explaination and some links to reinforce the ideas. There's not really any code, but he does link to various classes that can help combine to meet the goal.

0 comments voice your opinion now!
ajax application responsive comet apache compression multiple ajax application responsive comet apache compression multiple


ComputerWorld.com:
Advanced PHP Solutions with Zeev Suraski (Webcast)
September 20, 2006 @ 15:58:36

If you missed the Zend Webcast talking about "Advanced PHP Solutions" with Zeev Suaski, ComputerWorld has your chance to grab the download from it.

PHP continues to enjoy phenomenal growth becoming the de-facto standard for enterprise Web applications. With the introduction of PHP 5, PHP has reached new levels of support for Web Services, XML and Service Oriented Architectures (SOA) meeting the robust demands of the enterprise environment. Learn how you can achieve scalability, performance, availability and reliability for your enterprise-class PHP applications with advanced PHP solutions from Zend Technologies.

In the webcast, Zeev talks about integrating web services, tracking and improving the response times in your application, scaling your applications, and troubleshooting applications down to the exact line of code.

0 comments voice your opinion now!
webcast zend advance solutions webservices responsive speed scale troubleshoot webcast zend advance solutions webservices responsive speed scale troubleshoot


PHPit.net:
Book Review - AJAX and PHP - Building Responsive Web Applications
May 08, 2006 @ 06:55:38

The PHPit.net site has posted a book review today, a look at Packt Publishing's "AJAX and PHP: Building Responsive Web Applications".

Welcome to the first book review on PHPit, which is the first one in the new "Book Reviews" section on PHPit. There are many PHP & MySQL books these days, and more are being released every day, which makes it a hard task to pick a good PHP book. That's why I've decided to create this new section which will help you pick the best PHP books available. I will take a look at certain PHP books, and do a thorough review on each of them. Every review will end with a conclusion and a recommendation.

Overall, the review seems positive, though the reviewer notes that the book seems a bit basic at times. He mentions the basic contents - topics like Javascript, XML, XMLHttpRequest, and browser issues one might come across. Theses basics get you ready for the main two sections - client and server-side development. He notes, though, that unless you're very new to the whole Ajax and PHP thing, you might not learn much here.

0 comments voice your opinion now!
ajax book review responsive web appplication packt ajax book review responsive web appplication packt



Community Events





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


release bugfix interview install opinion laravel symfony podcast community language voicesoftheelephpant tips api library series framework list package introduction deployment

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