What are your recommendations for lightweight database abstraction
library (Oracle/MySQL)?
I prefer OOP. :)
Tnx, Ivan. 8 1839
On Jul 16, 1:56 am, Ivan S <ivan.sku...@gm ail.comwrote:
>
What are your recommendations for lightweight database
abstraction library (Oracle/MySQL)?
You are looking for the impossible. "Lightweigh t abstraction" is a
contradiction in terms...
Cheers,
NC
"Ivan S" <iv*********@gm ail.comwrote in message
news:5a******** *************** ***********@k37 g2000hsf.google groups.com...
What are your recommendations for lightweight database abstraction
library (Oracle/MySQL)?
I prefer OOP. :)
I don't know what is ment by "lightweigh t database abstraction". But this
link is worth reading http://aphp.yasashiisyndicate.org/wiki/ActiveTable it
uses oops. An example implementation is http://modulargaming.com/
On 16 srp, 11:17, NC <n...@iname.com wrote:
On Jul 16, 1:56 am, Ivan S <ivan.sku...@gm ail.comwrote:
What are your recommendations for lightweight database
abstraction library (Oracle/MySQL)?
You are looking for the impossible. *"Lightweigh t abstraction" is a
contradiction in terms...
Cheers,
NC
I don't need huge level of abstraction, I just need little and fast
library that support some common functionality for Oracle (or MySql)
database.
Hope that clears possible language barrier. :)
On 16 srp, 12:28, "sathyashra yan" <sathyashra...@ ATGmaIl.comwrot e:
"Ivan S" <ivan.sku...@gm ail.comwrote in message
news:5a******** *************** ***********@k37 g2000hsf.google groups.com...Wh at are your recommendations for lightweight database abstraction
library (Oracle/MySQL)?
I prefer OOP. :)
I don't know what is ment by "lightweigh t database abstraction".
Maybe "lightweigh t library for database abstraction layer" sounds
better...
But this
link is worth readinghttp://aphp.yasashiisy ndicate.org/wiki/ActiveTableit
uses oops. An example implementation ishttp://modulargaming.c om/
Thanks for your help.
Ivan S schreef:
What are your recommendations for lightweight database abstraction
library (Oracle/MySQL)?
I prefer OOP. :)
Tnx, Ivan.
Have a look at ADODB (yes it is PHP). http://www.phplens.com/adodb
Regards,
Erwin Moller
Ivan S wrote:
What are your recommendations for lightweight database abstraction
library (Oracle/MySQL)?
I prefer OOP. :)
Tnx, Ivan.
Ivan,
I created my own abstraction layer before PDO got going. Nothing fancy,
and much faster. Effectively it's a base class with mostly abstract
members and a derived class for each database I've used.
It's not elegant and it doesn't contain all of the bells and whistles of
PDO, but it works for me. And it didn't take that long to create it
(although I've added to it over the years).
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
On Jul 16, 3:39 am, Ivan S <ivan.sku...@gm ail.comwrote:
>
"Lightweigh t abstraction" is a contradiction in terms...
I don't need huge level of abstraction, I just need little
and fast library that support some common functionality for
Oracle (or MySql) database.
Again, it's not possible, because abstraction can't be fast. Once you
decided to use abstraction, you must accept a performance penalty.
The extent of that penalty varies depending on the abstraction layer
used and on the type of query run. In benchmark tests, popular
abstraction layers increase execution times by anywhere between 15%
and 300%: http://phplens.com/lens/adodb/
Cheers,
NC
On Jul 16, 3:56*pm, Erwin Moller
<Since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
Ivan S schreef:
What are your recommendations for lightweight database abstraction
library (Oracle/MySQL)?
I prefer OOP. :)
Tnx, Ivan.
Have a look at ADODB (yes it is PHP).http://www.phplens.com/adodb
Regards,
Erwin Moller
I will prefer Db.php from pear. It is very commonly used for this job. http://satya61229.blogspot.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ruby Tuesday |
last post by:
Which one is better to do dynamic websites using MySQL? Thanks
a.. ADODB, http://php.weblogs.com/ADOdb/
b.. Metabase, http://www.phpclasses.org/browse.html/package/20.html
c.. PEAR::DB, http://pear.php.net/manual/en/core.db.php
d.. PHPLib database wrappers, http://sourceforge.net/projects/phplib
|
by: lawrence |
last post by:
A user writes this sentence: "It was the New Urbanist's nightmare of
sprawl run amok."
They input that and my PHP script hits it with addslashes() and then
the sentence gets put in the database. A slash is likely inserted in
front of the quote mark in "Urbanist's".
Later the user runs a search of the database for "New Urbanist's
nightmare".
|
by: Jeff Rodriguez |
last post by:
I am aware of bstrings however, a quick google search hasn't revealed a simple
library for array abstraction.
What are others thoughts on the bstring library and is anyone aware of an array
abstraction library?
Thanks!
Jeff
|
by: Brett |
last post by:
If I want to easily swap the database I'm using, what is the best method for
developing that tier in my application?
I'll have basically a 4 tier app:
1. presentation
2. business logic
3. data layer containing standard SQL compliant queries
4. any database
I'm looking for the most efficient way to design tier 3. I can't use stored
|
by: DartmanX |
last post by:
I'm looking for any comparisons of PHP Database Abstraction Layers out
there, with an eye towards speed/efficiency. I'm still using PEAR::DB,
which obviously leaves something to be desired.
I'm at a point now where I can look at switching to a better system.
Jason
| |
by: Colin McKinnon |
last post by:
Hi all,
There's lots of DB abstraction layers out there, but a quick look around
them hasn't turned up anything which seems to met my requirements. Before I
go off and write one I thought I'd ask here if anyone knows of such a
beast...
I want some code where I present an array of data, and the corresponding
primary key and let the code work out whether to INSERT or UPDATE it, I
also want to be able to present the data from a QBF or...
|
by: rickycornell |
last post by:
Greetings All,
On past projects in PHP4 I had always just written my own libraries to
deal with database interaction. Somehow I was operating in the dark
that there were all these database abstraction things available that
made my work on the libraries I made from scratch a waste of time.
So now I've started researching all these things that are available,
and I have to say I am a little confused. It's a matter of
understanding the...
|
by: subramanian100in |
last post by:
Is my following understanding correct ?
Data abstraction means providing the interface - that is, the set of
functions that can be called by the user of a class.
Information hiding means mentioning the class members(functions,
typedefs, data) under the access control labels : public, protected,
private.
Encapsulation means providing the implementation of class member
|
by: Joseph Gruber |
last post by:
Hi All.
I'm a PHP programer moving to ASP.NET for this project I'm working
on. The project I'm working on will require that the ASP.NET
application support multiple databases (e.g. Oracle, MySQL and
MSSQL). I've done some google searching but am not finding an answer
to my question. Is there a database abstraction layer for ASP.NET
similar to how there is one for PHP? If not any suggestions/articles
on writing one?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |