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

Categories
php tecnologia

drupal

oggi ho reinstallato drupal per vedere gli aggiornamenti fatti negli ultimi 2 anni. Devo dire che il codice è più pulito, l’interfaccia sempre chiara e facile da usare. Unico limite, a mio parere, è la gestione dei template un pò macchinosa. Nonostante la copiosa documentazione non sembra molto facile crearsi un proprio template da zero senza conoscere la giusta sintassi ed i tantissimi tag css sparsi per il framework…

ciuaz

Categories
php tecnologia

phpEasyInstaller

John Lim ha rilasciato la nuova versione di phpEasyInstaller per windows

This installer makes it easy to install PHP for the following web servers: IIS, Apache 1.3 and 2.0 for Windows 2000/XP/2003 and later. The installer is specifically tuned for high performance usage with IIS.

The installer has more features than the default PHP installer from php.net because it installs:
– PEAR and ADOdb libraries.
– FastCGI to improve PHP reliability. Only for IIS.
– Turck MMCache for accelerating PHP scripts.
– Session variable support and register_globals on.

ciuaz