Categories
php tecnologia

i 20 maggiori errori da evitare in IT

error 18: IT managers who look only as far as J2EE and .Net when developing scalable Web apps are making a mistake by not taking a second look at scripting languages — particularly PHP. This scripting language has been around for a decade now, and millions of Yahoo pages are served by PHP each day

via harry fuecks

ciuaz

Categories
php tecnologia

The KnowledgeTree

che dire? stupendo!

KnowledgeTree™ is one of the most rapidly-adopted open source document management systems, with downloads currently running at several hundreds per month. It was originally developed for the South African Medical Research Council; so it has all the code quality, functionality and architectural rigour that you would expect of a top-of-the-range enterprise application. The only thing it misses is the million-dollar price tag: being Open Source, it’s licence cost free. The product includes advanced document version control, full text search capabilities, multiple search types and extensible metadata fields for documents. Some of the more advanced functionality includes a customizable dashboard and workflow for document authoring.

ciuaz

Categories
cazzate tecnologia

teach yourself programming in 10 years

perchè andar di fretta ed imparare tutto in un mese, una settimana o sole 24 ore? E’ tempo di darci una calmata, e di imparare a programmare in 10 anni!

ciuaz

Categories
php

php e mvc

interessante articolo di John Lim sull’uso del paradigma di programmazione MVC all’interno di applicazioni PHP, molto interessanti anche i commenti dove lo stesso fuecks ammette che non tutte le applicazioni per il web possono utilizzare tale paradigma. Oltre all’articolo consiglio la lettura di un infuocato thread sul forum di sitepoint che cerca di spiegare a cosa serve MVC.

ciauz

Categories
altri linguaggi php

jpspan

Ho scovato per errore JpSpan, una classe che permette di richiamare tramite javascript uno script php senza dover ricaricare la pagina. JpSpan ha decisamente molte potenzialità, partendo dal completamento automatico delle form alla gestione dei log degli errori alla creazione di applicazioni XUL complete. Merita di darci un occhio…

JPSpan provides tools to “hook up” PHP and Javascript, for the purpose of fetching data from PHP into a web page which has already loaded, without reloading the entire page.

The objective is to make connecting a Javascript client with a PHP server as painless and error-free as possible. To this end JPSpan allows you to define a class in PHP and call it’s methods directly (and remotely) from Javascript.

aggiornamento:
ho appena scoperto che jpspan è stato scritto da quel geniaccio di harry fuecks

ciuaz

Categories
tecnologia

test: What Number Are You?

You Are the Helper
2

You always put on a happy face and try to help those around you.

You’re incredibly empathetic and care about everyone you know.

Able to see the good in others, you’re thoughtful, warm, and sincere.

You connect with people who are charming and charismatic.

via koolinus

ciuaz

Categories
tecnologia

xul filemanager

lo XUL FileManager è una delle applicazioni XUL più belle che abbia mai visto! Si tratta essenzialmente di un client server side (funziona sia con php che con asp) che simula le funzionalità di un file manager (ie. explorer di windows) permettendo ad un utente di creare, modificare, cancellare file in remoto come se fossero sul proprio harddisk!
Qui trovate una demo completa.

ciuaz

Categories
tecnologia

firefox tips & tricks

lo sapevi che inserendo una lista di differenti link separati da un pipe [ | ] come home page, all’avvio firefox ti aprirà una nuova tab per ognuno di essi?

ciuaz

Categories
tecnologia

vtiger CRM

vtiger CRM is an open source Customer Relationship Management (CRM) software mainly for Sales force working in small and medium businesses. vtiger CRM is built over proven, fast, and reliable LAMP/WAMP (Linux/Windows, Apache, MySQL, and PHP) technologies and open source projects, such as SugarCRM (SPL 1.1.2) project and phpBB (GPL), and others.

vtiger CRM leverages the benefits of open source software and adds more value to the end-users by providing many enterprise features, such as Microsoft® Outlook® integration, Message Board integration, Email integration, product customization, and others.

vtiger CRM software installation is very simple as all the necessary software, such as Apache, MySQL, and PHP are integrated and executables are made available both for Windows and Linux (RedHat, Debian, SuSe, and Mandrake) operating systems in SourceForge.net. You need not concern too much about setting up database, Web server, and other software.

vtiger CRM also provides, enterprise grade business productivity enhancement utility, vtiger Outlook Plug-in for Microsoft® Outlook® users. It is an Open Source Project covered under vtiger Public License 1.0 (VPL 1.0) based on Mozilla Public License 1.1, and complements the vtiger CRM software. Microsoft® Outlook® integration with vtiger CRM reduces the unnecessary duplication of work while communicating with customers.

ciuaz

Categories
php tecnologia

wordpress: rss per commenti moderati

sulla mailing list hacker di wordpress ho scoperto un interessante hack su come far visualizzare al feed RSS i commenti moderati, in questo modo sarà più semplice controllare che ce ne siano senza dover intasare la propria casella di posta elettronica o dover andare sul pannello di amministrazione del blog.

[php]
if (is_single()) {
$comments = $wpdb->get_results(“SELECT comment_ID, comment_author, comment_author_email, comment_author_url, comment_date, comment_content, comment_post_ID, $wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments LEFT JOIN $wpdb->posts ON comment_post_id = id WHERE comment_post_ID = ‘$id’ AND $wpdb->comments.comment_approved = ‘1’ AND $wpdb->posts.post_status = ‘publish’ AND post_date < '".date("Y-m-d H:i:59")."' ORDER BY comment_date LIMIT " . get_settings('posts_per_rss') ); } else if (isset($_GET["view"]) && $_GET["view"] == 'moderated_comments') { $comments = $wpdb->get_results(“SELECT comment_ID, comment_author, comment_author_email, comment_author_url, comment_date, comment_content, comment_post_ID, $wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments LEFT JOIN $wpdb->posts ON comment_post_id = id WHERE $wpdb->comments.comment_approved = ‘0’ AND $wpdb->posts.post_status = ‘publish’ AND post_date < '".date("Y-m-d H:i:59")."' ORDER BY comment_date LIMIT " . get_settings('posts_per_rss') ); } else { // if no post id passed in, we'll just ue the last 10 comments. $comments = $wpdb->get_results(“SELECT comment_ID, comment_author, comment_author_email, comment_author_url, comment_date, comment_content, comment_post_ID, $wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments LEFT JOIN $wpdb->posts ON comment_post_id = id WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->comments.comment_approved = ‘1’ AND post_date < '".date("Y-m-d H:i:s")."' ORDER BY comment_date DESC LIMIT " . get_settings('posts_per_rss') ); } [/php]

Find the SQL queries in wp-commentsrss2.php and replace with this code.
Then subscribe to:
http://www.example./com/wp-commentsrss2.php?view=moderated_comments
This is from a recent nightly build, it will be slightly different in 1.2.1 or previous versions.

Cheers,
–Alex
http://www.alexking.org/

ciuaz