Categories
php

php|architect agosto

Nuovo numero di php|architect orientato a php5

PHP5: Beyond the Objects
So you think that PHP 5 is all about Object-oriented Programming, eh? While OOP is certainly one of the major selling points of PHP 5, there is plenty to be excited about even if you are the procedural type—read on to find out why. Join author John Coggeshall for a tour of the new features offered by the latest version of the world’s most popular web development language!

The Ultimate PHP 5 Shopping Cart
Imagine a user-friendly shopping cart that allows the customer to make instantaneous order adjustments without waiting for the page to refresh, queries UPS (or your courier of choice) for all the available shipping rates and charges the customers credit card upon checkout. That same cart also handles the SSL security automatically, maintains its functionality regardless of the user’s browser and is XHTML 1.1, Section 508 and W3C WAI compliant. Sounds too good to be true? Then let Erid David Wiener show how it can be done!

PHP Sockets + Flash = Chatroom with Style
Chatrooms in php used to be limited to refresh hacks that tended to be slow and bogged down the server. Where once there was HTML and PHP combined, there is now Flash and PHP—a powerhouse combination that with care can allow you to create elegant and graceful interfaces. Richard Thomas shows you how a simple chatroom is only the beginning of things to come.

PHP and Databases
To many object-oriented developers, there is a sense that the relational model for data management is at odds with the concepts of object-oriented development. Are these views justified? Are they practical? In the first of this two-part series, Rick Morris examines some of the issues at stake when object-oriented applications need to interact with relational databases.

Error Handling with PHP 5 and PEAR
We all want our applications to be error free, but, like it or loathe it, this will almost never be the case. The biggest variable in our applications will always be data input—that is, any data supplied by the user. What do we do when something goes wrong? In this article, Davey Shafik explores the best ways to have the application continue to function properly while informing the user of any errors that occur.

Migrating your data to InnoDB
The InnoDB storage engine (www.innodb.com) offers many improvements for MySQL developers. This article by Marc Delisle (author of “Mastering phpMyAdmin for Effective MySQL Management,” published by PACKT and now available worldwide) gives an overview of InnoDB, then focuses on using phpMyAdmin (www.phpmyadmin.net) for InnoDB tables management.

ciauz

Categories
tecnologia

nuovo windows update v5

se decidete di aggiornare il vostro winzozz tramite il windows update di m$ troverete che il servizio è stato rinnovato e che vi verrà richiesto di aggiornare la versione installata sul vostro sistema. Dovete sapere che questo avviene perchè la precendente versione 4 non era compatibile con l’imminente service pack 2 di windows xp!

La nuova maschera che si presenta, una volta aggiornato il software, richiederà che tipologia di aggiornamento volete fare, cioè se volete fare quella automatica suggerita da m$ o quella personalizzata (meglio la seconda), inoltre sono state riviste le categorie delle patch ed è stata aggiunta una funzione per visualizzare lo storico di tutte le patch installate.

Putroppo anche questo windows update funziona SOLO da internet explorer.

PS vi consiglio caldamente di ASPETTARE ad installare il SP2

ciauz

Categories
di tutto un po'

come diventare un hacker

seguendo un rapido howto

ciuaz

Categories
pensieri

moca.camp

secondo giorno di guerra per sopravvivere al caldo cocente del campetto di calcio dove siamo alloggiati… intanto le attività ludiche vanno avanti…

ciauz

Categories
linux

importare vcf in evolution

ho notato che evolution permette di importare solo un file VCF per volta, nel caso abbiate circa 200 file sparsi per l’hd l’importazione diventa qualcosa di drammatico. Per risolvere il problema io ho creato uno stupidissimo script bash che fa il “merge” di tutti i file VCF in una directory in un unico grande file:

#!/bin/bash
# merged-vcf.sh by Fullo
# GPL licensed
echo “Sto unendo tutti i file VCF presenti in $PWD”
for file in *.vcf
do
echo “sto aggiungendo: $file”
cat “$file” >> “merged-vcf.vcf”
printf ‘\n’ >> “merged-vcf.vcf”
done
echo “Ho finito, troverai un file chiamato merged-vcf.vcf contenente tutti i vecchi contatti”

il funzionamento è abbastanza banale, copiate il testo qui sopra in un file chiamato merged-vcf.sh dategli permessi di esecuzione e fatelo partire dalla directory contenente tutti i vostri VCF a questo punto maggicamente vi ritroverete un file chiamato merged-vcf.vcf che una volta importato da evolution vi inserirà tutti i contatti nella vostra rubrica.

ciauz

Categories
tecnologia

windows xp service pack 2

prima di aggiornare il vostro pc con il service pack 2 di windows xp (appena uscirà) vi consiglio di controllare di non aver nessuno di questi programmi installati!

ciuaz

Categories
di tutto un po'

tempo di dichiarazioni…

e perchè far la fila in banca compilando l’F24 quando lo si può fare comodamente da casa?!

ciauz

Categories
php tecnologia

php::Links(‘ wiki! ‘);

un gran bel wiki su php, pear e pecl (e python)!

caiuz

Categories
pensieri

ferie…

giardini naxos
vado qualche giorno in sicilia… cià! :)

ps
il 21-22-23 Agosto mi trovate al moca-camp a pescara!

ciuaz

Categories
php tecnologia

Ice PHP

The Internet Communications Engine (Ice) is a modern alternative to object middleware such as CORBA™ or COM/DCOM/COM+. Ice is easy to learn, yet provides a powerful network infrastructure for demanding technical applications. Ice shines where technologies such as SOAP or XML-RPC are too slow, or do not provide sufficient scalability or security. For a comparison between Ice and CORBA, please see this page.

Ice is free software, available with full source, and released under the terms of the GNU General Public License (GPL). Commercial licenses are available for customers who wish to use Ice for closed-source software.

The Ice extension for PHP, IcePHP, provides PHP scripts with access to Ice facilities. IcePHP is a thin integration layer implemented in C++ using the Ice C++ run-time library. This implementation technique has a number of advantages over a native PHP implementation of the Ice run-time:

ciuaz