Categories
php

php|architect gennaio

nel numero di questo mese:

Transliteration with PHP
There are a couple of different methods of converting characters to other characters. Trans-literation, the process of converting a specific character to different characters or groups of characters, is a very useful process when dealing with internationalized content. In this article, PHP core developer Derick Rethans shows you how transliteration can be accomplished in PHP just by using a powerful PECL extension.

Iterators in PHP5
When PHP5 came out, a buzz started about Design Patterns and their application, how to use them, what exactly are “patterns”, and why they are so important. In this article, author Rami Kayyali takes a look at one of the famous patterns, the Iterator, and its application within the new PHP5 Standard PHP Library framework.

Generating OpenOffice.org documents with PHP
As you might know, OpenOffice.org is getting more and more users. This article will show you how you can generate documents from PHP that the Writer component of OpenOf-fice.org can read. It’s a follow up to author Bård Farstad’s previous article, which appeared in the October 2004 issue of php|architect and dealt with extracting information from OpenOffice documents.

Where in the World was that Photo Taken?
Ever wonder where a photo was taken? We’ve all seen exotic or interesting photos, but really had no way of pinpointing their location. Now, with the marriage of GPS and digital photography, we can know the exact location of where our favorite photos were taken. Ron Goff shows you how in this article that brings together digital photography, GPS position and a bit of PHP magic.

Akaar – Being Smarty with Smarty!
Wouldn’t it be great to free up the development time you spend on mundane repetitious tasks, such as form generation and client side input validation on forms, and really concentrate on the fun and interesting side of PHP development? Whether using standard blocks of code or even customized blocks from your library, intelligent use of these assets in a templated-based environment can save you tons of time. This article, written by Chirag Ahmedabadi, describes a few concepts that can reduce this repetitive coding dramatically while really accelerating your development.

ciauz

Categories
php

PHP::Links(” phpsec “)

marco tabini ne ha fatta un’altra:

[phpsec] is a mailing list dedicated to the security of PHP and its related applications. Our goal is to maintain an early-warning system through which developers, systems administrators and researches can discuss and exchange information about maintaining PHP, PHP applications and PHP systems secure.

ciauz

Categories
php

php 4.3.10 e object overload

se come me utilizzate pear, soprattutto per quel che riguarda i db layer, e programmate un pochino ad oggetti l’ultima incarnazione di php, la 4.3.10, si sarà rivelata un incubo anche a voi. Oggi ho scoperto come arginare il problema per quel che riguarda l’ottima classe DB_DataObject:

THIS MAY SEGFAULT PHP IF YOU ARE USING THE ZEND OPTIMIZER or PHP 4.3.10 (to fix it, just add
define(‘DB_DATAOBJECT_NO_OVERLOAD’,true);
before you include the file DataObject.php reducing the optimization level may also solve the segfault.

tra l’altro pare che nelle ultime nightly build di php sia stato risolto il problema dell’object overloading che affliggeva appunto la maggior parte delle classi pear.

ciauz

Categories
php

php::Links(‘ domPDF ‘);

dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) CSS2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.

PDF rendering is provided using a modified version the R&OS PDF class written by Wayne Munro, http://www.ros.co.nz/pdf/. (Some performance related changes have been made to the original.) Eventually there will be support for alternative rendering backends (PDFlib and ClibPDF, for example, or even image rendering with GD). Using the R&OS PDF class, however, eliminates any dependencies on external PDF libraries.

dompdf is entered in the Zend PHP 5 Contest. While the current release is only version 0.3, it is quite usable and has been adopted by at least one enterprise PHP application.

ciauz

Categories
php tecnologia

wordpress plugin

su wp-plugin sono presenti molti nuovi plugin per wordpress, anche 1.5! Il sito è stato realizzato con Trac, uno dei migliori bugtracker in circolazione, ed è stata data la possibilità a tutti di contribuire sviluppando nuovi plugin tramite un wiki e l’accesso ad un server subversion.

ciuaz

Categories
php

PHP::Links(” zend studio 4 beta “)

Zend Studio 4 Beta Program:

The Zend Studio Development Team is proud to announce the availability of Zend Studio 4.0 Beta!

The Zend Studio Beta Program is aimed at allowing professional PHP developers such as yourself the opportunity to take the product for a test drive and share your feedback with us, before we give the green light for the actual release of Zend Studio 4.

New Features:
Zend Studio 4.0 Beta introduces a host of improvements including greater stability, enhanced performance and many user-requested features–for a full list see Technical Changes.

Zend Studio 4.0 Beta’s major new features:

  • NEW – SQL Database Support & Connectivity: Including the most widely used professional databases such as MySQL, Oracle, Microsoft SQL Server, PostgreSQL and SQLite.
  • NEW – Code Snippets Integration & Support: Over 100 reusable code snippets, utility functions and code samples.
  • NEW – PHPDocs Support & PHPDocumentor Integration: Generate professional documentation directly from the PHP project source code.
  • NEW – Smart Goto Source: Speed-up the development process by easily comprehending your and your teams’ code.
  • NEW – Syntax Highlighting for CSS & XML: Intuitive script editing with a visualization of code syntax and hierarchy.

ciuaz

Categories
php tecnologia

php::Links(” php reserved words “);

una lista di parole da non utilizzare nei vostri script, in quanto riservate da php!

ciuaz

Categories
altri linguaggi php

xulrecordset

xulrecordset is a project to create XUL widget library with a recordset behaviour.

The project uses PHP language in server-side and derived XUL widgets (using XBL – Mozilla technology) and Javascript in client-side. The comunication between client and server is supported by JPSpan library.

We provide an agenda as an example to show how it works. You can move next, move previous, move first, move last, update, remove, add records… The example runs against a MySQL database.

The project aims to create a library to get a XUL widgets with a recordset behavior, like ADORecordset in Visual Basic.

ciauz

Categories
php

php miglior linguaggio 2004

PHP has been awarded the Programming Language of 2004, according to the TIOBE Programming Community Index. This index uses information collected from the popular search engines, and are based on the world-wide availability of skilled engineers, courses and third party vendors.

ciuaz

Categories
php

PHP::Links(” pattern design “)

su devshed è presente un articolo sui pattern factory e abstract e su alcuni esempi di utilizzo in php.

ciuaz