Wednesday, July 23, 2008

[PHP Classes] Weekly newsletter of Wednesday - 2008-07-23

Weekly newsletter of Wednesday - 2008-07-23


Advertisement

You are getting this message because you voluntarily subscribed to the PHP Classes site. To change your newsletter or alert messages delivery options, see the instructions at the bottom of this message.

Advertisement


This newsletter is always available online and upto date at: http://www.phpclasses.org/newsletter/ .

    Featured initiatives:

  • PHPCamp
  • PHPCamp is a ad-hoc gathering for PHP community. It similar to barcamp, but more focused towards PHP based web application development. This means that anyone can come to PHPCamp and participate.

    Next gathering will take place in Pune, India. More details may be found in the gathering site.

    These initiatives are announced here just for the information of the PHP Classes site users. These announcements are not sponsored by the organization of the initiatives.

    If you take part of the organization of a global or regional initiative that may be of the interest of the PHP Classes site users, feel free to contact this site so your initiative may also be announced here at no expense to your initiative organization.

Contents


    Top friends of the site

    Friends of the PHP Classes site is a initiative to provide recognition to the users that contribute to the growth of the site community.

    For more information on how to become a friend of the site look here.

    Rank Friend Referrals
    1 lixlpixel 35
    2 Cesar D. Rodas 32
    3 Horst Nogajski 26
    4 Protung Dragos 20
    5 Richard Munroe 20
    6 Olaf Lederer 17
    7 Giorgos 16
    8 Alexander Skakunov 15
    9 Khaled Al-Shamaa 13
    10 Ehsanul Haque 9

Contents


Contents


Innovation Award Winners Congratulations to Diêgo Garrido de Almeida!


Rank Class Author Score Points Prize
1 Google - Did You Mean
Get spelling correction suggestions from Google
Diêgo Garrido de Almeida 21.43% 9
2 ASCII CAPTCHA
CAPTCHA validation using ASCII art text
Debug 19.05% 8
3 Form PDF
Create and load PDF forms in FDF format
bobak 16.67% 7
4 Slide Show
Present a slide show of local or remote images
Barton Phillips 14.29% 6
5 io_dz
Serialize values to a compressed string
bobak 9.52% 5
6 Social Security Number (SSN) Generator
Generate and validate US social security numbers
Jacob Allred 7.14% 4
7 Easy ADSI
Query Windows Active Directory
Zsolt Munoz 4.76% 3
7 mhtml
Parse and extract files from MIME HTML archives
Uku-Kaarel Jo~esaar 4.76% 3
9 boxPlot
Render box plot charts from data sets
caio nakashima 2.38% 1

Nominees to win the award of June of 2008

Class: MySQL Binlog Rotate Picture of J. Pape
Description: Rotates the binary logs in a MySQL 5 cluster
Author: J. Pape
Age: 25
Country: The Netherlands The Netherlands

Class: Easy WMI Picture of Zsolt Munoz
Description: Access Windows resources using WMI objects
Author: Zsolt Munoz
Age: 28
Country: Canada Canada

Class: QSWFObject Picture of Tom Schaefer
Description: PHP Wrapper to load Flash movies
Author: Tom Schaefer
Age: ???
Country: Germany Germany

Class: Screenshot Picture of Daniel Neville
Description: Take screenshots of pages with Internet Explorer
Author: Daniel Neville
Age: 16
Country: United Kingdom United Kingdom

Class: Maildir To Mailbox Picture of Charalampos Pournaris
Description: Convert messages from maildir to mbox format
Author: Charalampos Pournaris
Age: 22
Country: Greece Greece

Class: GNU/Linux Stats Picture of Cesar D. Rodas
Description: Retrieve information about Linux systems
Author: Cesar D. Rodas
Age: 20
Country: Paraguay Paraguay

Class: Link Searcher Picture of Nadir Latif
Description: Crawl Web pages to search for given text
Author: Nadir Latif
Age: 25
Country: Sweden Sweden

Class: SuperSocket Picture of Debug
Description: Handle multiple TCP socket connections
Author: Debug
Age: 18
Country: United States United States

Class: Id3 Tag Correction and Downloading Picture of Nadir Latif
Description: Correct ID3 tags of music stored in a database
Author: Nadir Latif
Age: 25
Country: Sweden Sweden

Vote

Contents


Trackback Class Age in days
PHP libraries to learn English words - a number Hen
-
Number to word 1
Stop bots from submitting contact forms
have been using this code for a while...
Form Spam Bot Blocker 2
Blog Summary Email?
This definitely falls into the catego...
Newsletter Queue 2
Google Translate Tool Class v0.9
As almost all of my classes i have de...
Google Translate Tool 2
parsing csv file with php and inserting into mysql database
As some of my posts they usualy start...
Quick CSV import 4
Amazing Google Visualization API implementation in PHP
The QGoogleVisualizationAPI package i...
QGoogleVisualizationAPI 6
Proyectos interesantes
Database structure synchronizer es un...
Database structure synchronizer 6
Inserting a Google Map onto my website ??
Phoogle works very well, please make ...
Easy Google Map 7
Php Formu Worde Aktarmak
...
PHP MS Word 13
E-mail empfang bestätigen
kuckstu hier:..
Bounce Handler 13

Contents


Subject Posted on Class
German counting is not correct
German number to word is not correct
2008-07-23 Number to word
I like it and create my site with this.
Package rating comment
2008-07-22 myPageDisplay
Wow, thats a good class !! lol
Package rating comment
2008-07-22 QTag
Great and simple to use.
Package rating comment
2008-07-22 Flickr API Class
Easy to use, very well coded, high quality results.
Package rating comment
2008-07-21 MsDoc Generator
dependencies on milestones
dependencies on milestones
2008-07-21 Gantt Chart Class
This a very good and useful class .
Package rating comment
2008-07-21 Google Translate Tool
This is a good class !! lol The process to format files have ...
Package rating comment
2008-07-21 Simple Upload
i get some usefullness
Package rating comment
2008-07-21 PDFTemplate
exporting a stream as the file
Any ideas on using this class to export a stream as the file
2008-07-21 MS-Excel Stream Handler

Contents


    Latest package entries

  • maDB
  • Picture of Gideon Cole
    Author: Gideon Cole
    Date: 2008-07-22 (1 day ago)
    Groups: Databases
    Description: This class can be used to execute common MySQL queries using parameter lists. It can:

    - Insert rows in a given table setting fields to given values
    - Retrieve a single row from a given table with the id field set to a given value
    - Retrieve all rows of a given table.

    Functions that execute queries that retrieve data return it in arrays.

  • YLocal
  • Picture of venkatakrishnan
    Author: venkatakrishnan
    Date: 2008-07-22 (1 day ago)
    Groups: PHP 5, Searching, Web services, Geography
    Description: This package can be used to perform searches using Yahoo! Local Search Web services API.

    It can access the Yahoo! Local Web services API server and send a search request using several search parameters.

    It provides a way to iterate over each result that is returned by the service. It return an object with variables set to the values of each result detail.

  • Google Download
  • Picture of Thomas Shone
    Author: Thomas Shone
    Date: 2008-07-21 (2 days ago)
    Groups: PHP 5, Searching, Web services
    Description: This class can be used to search and download files using Google search.

    It accesses Google search pages emulating a search form submission with given search parameters.

    Currently it can narrow the search using parameters like: site, allintitle, intitle, allinurl, inurl and filetype.

    The class can extract of the URLs of the search results and download the files available on those URLs into a given directory.

  • QTag
  • Picture of Tom Schaefer
    Author: Tom Schaefer
    Date: 2008-07-21 (2 days ago)
    Groups: HTML, XML, PHP 5
    Description: This package can be used to generate HTML, XML or other tag based documents programmatically.

    It can build a nested structure of tag objects that define the contained tags, data and tag attributes.

    The main class can traverse recursively the tag object structure to generate all the tags and the contained data and tags structure.

  • Google Translate Tool
  • Picture of solomongaby
    Author: solomongaby
    Date: 2008-07-20 (3 days ago)
    Groups: Localization, Web services
    Description: This class can be used to translate text or whole Web pages using the Google Translate site.

    It takes as parameters a given text or URL of a page, and source and target languages to translate the text.

    The class accesses the Google Translate site and emulates translation form submission to translate the given text or page.

    It returns the translated text or the HTML of the translated page version.

  • From Browser - Youtube Upload
  • Picture of Cesar D. Rodas
    Author: Cesar D. Rodas
    Date: 2008-07-20 (3 days ago)
    Groups: Web services, Video
    Description: This class can be used to allow uploading videos directly to YouTube using forms presented in other sites.

    It accesses the YouTube Web services API to create an entry for a video to be uploaded.

    The class retrieves the just created video entry identifier and an URL to generate Web forms that upload the video to YouTube site directly, i.e. without going to the original site that presented the video upload form.

  • Simple Upload
  • Picture of Szymon Lukaszczyk
    Author: Szymon Lukaszczyk
    Date: 2008-07-19 (4 days ago)
    Groups: PHP 5, Files and Folders
    Description: This class can be used to manage files uploaded via forms.

    It takes the array of data of an uploaded file and can perform several types of operations like:

    - Check whether there were any upload error and whether the file is a valid upload
    - Clean the file name from non alphanumeric characters
    - Generate random unique names for the uploaded file
    - Copy or move the file to another directory

  • QDataObject
  • Picture of Tom Schaefer
    Author: Tom Schaefer
    Date: 2008-07-19 (4 days ago)
    Groups: PHP 5, Databases
    Description: This package can be used to access MySQL query results as objects.

    It can take a MySQL query result set resource handle as parameter and provides several types of functions to access the data from the result set.

    It provides check or retrieve the result set data positions, as well retrieve the type and length of the respective columns.

    The package provides implementations that use the regular MySQL and MySQLi extensions to access MySQL query results.

    New:
    DataObjectFactory

    === QMysqlDataObject ===
    Test => SELECT * FROM geodb_textdata
    TEST ENV:
    Windows Vista Xampp, AMD Turion 64x2 Mobile 1.80 GHz
    2 MB RAM (average performance)

    1.a) object building runtime 0.176911115646s
    on a db table with 337.925 records
    (building uncached dataobject from uncached query at page offset 22210 by 10 rows/page)

    1.b) object building runtime 0.275130033493s
    on a db table with 337.925 records
    (building uncached dataobject from uncached query at page offset 3000 by 100 rows/page)

    2.a) object building runtime 0.0171821117401s
    on a db table with 337.925 records
    (building uncached dataobject from uncached query at page offset 10 by 10 rows per page)

    2.b) object building runtime 0.0609588623047s
    on a db table with 337.925 records
    (building uncached dataobject from uncached query at page offset 10 by 100 rows per page)

    3)

    SELECT * FROM orders
    LEFT JOIN customers on customers.CustomerID=orders.CustomerID

    (northwind demo database)
    object building runtime 0.055801153183s
    (building uncached dataobject from uncached query at page offset 1 by 10 rows per page)
    Mysql DB times:
    Status runtime
    (initialization) 0.0000377
    Opening tables 0.0002247
    System lock 0.0000032
    Table lock 0.0000067
    init 0.0000107
    optimizing 0.0000037
    statistics 0.0000107
    preparing 0.00001
    executing 0.0000467
    Sending data 0.0002505
    end 0.0000042
    query end 0.0000035
    freeing items 0.0000077
    closing tables 0.000002
    removing tmp table 0.0001105
    closing tables 0.0000042
    logging slow query 0.0000025

    Conclusion:
    Object building becomes much quicker if you operate with sql conditions.
    The test above shows, that a cut on a deep offset is slow. So you have to reduce the data cloud by conditioning and so on.
    (On a Linux Web server it will run much faster.)

    Regards Tom Schaefer

  • Batikon update
  • Picture of alpcan aydin
    Author: alpcan aydin
    Date: 2008-07-18 (5 days ago)
    Groups: HTML, PHP 5, AJAX
    Description: This class can be used to update page elements dynamically without reloading.

    It generates HTML and Javascript that calls MooTools library to update a given page element with the output of a script with a given URL.

    The comments in the code are in Turkish.

  • Easy Template Engine
  • Picture of Salvan Grégory
    Author: Salvan Grégory
    Date: 2008-07-18 (5 days ago)
    Groups: Templates
    Description: This class implements a template processing engine that uses class variables as template parameters.

    It uses a setter function to set values of template parameters.

    The class processes the template by using regular expressions to search and replace template placeholders by previously set template parameter values.

  • PHPPolygen
  • Picture of andrea
    Author: andrea
    Date: 2008-07-17 (6 days ago)
    Groups: Text processing, Web services
    Description: This class can be used to generate random phrases based on a grammar using Polygen Web services API.

    It accesses the Polygen Web services API server and send request to generate a phrase using rules of grammar with a given name. Currently the Polygen API provides grammars for several topics in the Italian language.

    The class can retrieve the generated phrase and return it as a text or HTML formatted string.

  • AJAXPoll
  • Picture of José Augusto Ferreira Franco
    Author: José Augusto Ferreira Franco
    Date: 2008-07-17 (6 days ago)
    Groups: PHP 5, Content management, AJAX
    Description: This class can be used to display poll questions and collect the results using AJAX to avoid page reloading.

    It can take as parameters a poll question and the HTML to display for each of the poll answers.

    The class generates the necessary HTML and Javascript to display the poll on a Web page and submit the answer that the user picks to the server using AJAX.

    The class can can also display poll results as graphical bars that represent the percentage of each of the picked poll responses.

    The class avoids counting votes from the same user based on the user machine IP address and session variables. It also uses server side text files to store the updated poll results.

  • Space maps
  • Picture of Danilo
    Author: Danilo
    Date: 2008-07-16 (7 days ago)
    Groups: Graphics, Games
    Description: This class can be used to generate map images useful for space strategy games.

    Currently, it can generate an image with a space map with a given number of sectors placed at random locations in a way that they do not overlap. It can also render optional space gates.

    The map image is generated in JPEG format as the current script output.

  • String Builder
  • Picture of Senad Meskin
    Author: Senad Meskin
    Date: 2008-07-16 (7 days ago)
    Groups: PHP 5, Text processing
    Description: This class can be used to concatenate strings.

    It can concatenate strings in several ways:

    - Append a string to another
    - Append a string with a line break either in plain text or HTML
    - Concatenate a variable number of string with a given concatenation format

Contents


Contents


If you are not interested in receiving any more messages like this one, send an empty message to unsubscribe-newsletter@phpclasses.org or go to the user options page and uncheck the respective e-mail delivery option. There you can also switch the message format between text and HTML. Note that there are several mailing lists. If you want to unsubscribe from all lists at once, send an empty message to unsubscribe-content@phpclasses.org .

For more information send a message to info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes

No comments: