Login   Register  
PHP Classes

SPMD: Wrapper to access different types of databases

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Fernando Costa(14biss)
Name: Fernando Costa(14biss) <e-mail contact>
Packages: 2 Browse all classes by Fernando Costa(14biss) Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: ???
All time rank: 2806210 in Brazil Brazil
Week rank: 2048 Up145 in Brazil Brazil Up

  Detailed description   Download Download .zip .tar.gz  
This package implements a wrapper to access different types of databases.

There several classes that provide a common interface for establishing database connections loading the respective database connections if necessary, execute direct or prepared queries, and retrieve query results into arrays.

Currently it supports MySQL, PostgreSQL, Oracle and Microsoft SQL server.

In Portuguese:

SPMD é uma classe que desenvolvi para gerenciamento de banco de dados em geral, de uso fácil e prático.

Uma coisa interessante sobre o SPMD é que ele não bloqueia caracteres do tipo (" ' ;), apenas checa se no argumento da query tem alguma tentativa de Inject, se tiver substitui por caracteres especiais HTML ASCII ISO 8859-1... Esse procedimento é chamado de prepared statements.

Ela tem suporte aos seguintes drivers de SQL:

- MSSQL (Microsft SQL Server)
- Oracle
- PostgreSQL
- SQLite (em desenvolvimento)

O SPMD na verdade são 2 classes, 1 para conexão com o banco e checagem de extensões() e outra para gerenciamento de querys, que tem o nome de QueryManagement.

  Classes of Fernando Costa(14biss)  >  SPMD  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SPMD
Base name: spmd
Description: Wrapper to access different types of databases
Version: 0.3
PHP version: 5.0
License: Free For Educational Use
All time users: 391 users
All time rank: 5834
Week users: 0 users
Week rank: 1777 Equal
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Source Online ...

  Files folder image Files  
File Role Description
Accessible without login Plain text file Exemple1.php Example Exemple to use SPMD
Accessible without login Plain text file Exemple2.php Example Exemple to use SPMD
Accessible without login Plain text file prepared_statements1.php Example Using Prepared Statements
Accessible without login Plain text file prepared_statements2.php Example Using Prepared Statements
Plain text file SPMD.class.php Class SPMD.class.php
Accessible without login Plain text file SQL_drivers.php Example Supported SQL drivers

Download Download all files: spmd.tar.gz spmd.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.