Sponsored Content
Top Forums Programming gdbm with c programmin Books & Tutorial. Post 302698805 by DGPickett on Monday 10th of September 2012 02:49:03 PM
Old 09-10-2012
OO programming says lists should be in container objects. I saw a huge case statement several places today, and each should have been something like a containater lookup. It is less code and faster! Done right, the compiler can do the searches at compile time.

BDB is a modest RDBMS. but gdbm is GNU dbm is more at the container level.

If you can manage persistent objects, perhaps storing them in mmap()'s of flat files, then your containers can have the behaviors of an RDBMS.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Books on Shell programmin

Can Anyone suggest few good books on Unix Shell Programming and C on Unix. Thanks Prasad (5 Replies)
Discussion started by: pswar70
5 Replies

2. Shell Programming and Scripting

Tk tutorial

Anyone know any good website with a step by step instructions on writing Perl GUI scripts with Tk ??? (3 Replies)
Discussion started by: perleo
3 Replies

3. Shell Programming and Scripting

file editting with shell programmin

Hello, I have several handreds of text files. The format of file looks like: column1 column2 column3 column4 column5 id1 definition1 name1 fieldid comm1 id2 definition2 name2 fieldid ... (4 Replies)
Discussion started by: ssshen
4 Replies

4. IP Networking

socket programmin

I was trying to write proxy code but i here is a problem typedef struct req_msg { char *host;//hostname char *filename;//filename char *modified;//date char *data; char *request; }req_msg; while(take_responce(req,request)!=0) // take_responce gets responce from http server //... (0 Replies)
Discussion started by: yogesh_powar
0 Replies

5. Shell Programming and Scripting

Books on PHP & APACHE

Can anybody please suggest me a good book to learn PHP and Apache. I want to use it for general programming and espeacially as front end tool for INFORMIX RDBMS. The book should guide me from the basics, as I am a beginer for PHP & Apache on SUSE Linux 9.0. (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

6. UNIX for Dummies Questions & Answers

Problem installing gdbm

I'm trying to install gdbm on a MacPro running Leopard. But when I do the make install, I get this error: /usr/bin/install -c -m 644 -o root -g root gdbm.h \ /usr/include/gdbm.h install: root: Invalid argument make: *** Error 67 Any ideas? Thanks (1 Reply)
Discussion started by: Shan Hollen
1 Replies

7. AIX

books & documents

can someone tell me the name of the books for aix it is better if some one provide me links to any useful document (2 Replies)
Discussion started by: alokjyotibal
2 Replies

8. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

9. Web Development

Vue JS 2 Tutorial by The Net Ninja: A Recommended Vue.js Video Tutorial Series

A number of people have asked me how to get started with Vue.js and my reply before today was to Google "Vue.js". That has changed and my recommendation to anyone who wants to learn the fastest growing, easiest to learn and use Vue.js web dev framework is to watch this video tutorial series: ... (0 Replies)
Discussion started by: Neo
0 Replies
Alzabo(3pm)						User Contributed Perl Documentation					       Alzabo(3pm)

NAME
Alzabo - A data modelling tool and RDBMS-OO mapper SYNOPSIS
Cannot be summarized here. DESCRIPTION
What is Alzabo? Alzabo is a suite of modules with two core functions. Its first use is as a data modelling tool. Through either a schema creation GUI, a perl program, or reverse engineering, you can create a set objects to represent a schema. Its second function is as an RDBMS to object mapping system. Once you have created a schema, you can use the "Alzabo::Runtime::Table" and "Alzabo::Runtime::Row" classes to access its data. These classes offer a high level interface to common operations such as SQL "SELECT", "INSERT", "DELETE", and "UPDATE" commands. Because you can manipulate construct queries through object-oriented Perl, creating complex queries on the fly is much easier than it would be if you had to dynamically construct strings of SQL. A higher level interface can be created through the use of the "Alzabo::MethodMaker" module. This module takes a schema object and auto- generates useful methods based on the tables, columns, and relationships it finds in the module. The code is generates can be integrated with your own code quite easily. To take it a step further, you could then aggregate a set of rows from different tables into a larger container object which could under- stand the logical relationship between these tables. What to Read? Alzabo has a lot of documentation. If you are primarily interested in using Alzabo as an RDBMS-OO wrapper, much of the documentation can be skipped. This assumes that you will create your schema via a schema creation GUI or via reverse engineering. Here is the suggested reading order: Introduction to Alzabo The RDBMS-specific documentation: Alzabo and MySQL Alzabo and PostgreSQL The Alzabo::Runtime::Schema docs - The most important parts here are those related to loading a schema and connecting to a database. Also be sure to read about the "join()" method. The Alzabo::Runtime::Table docs - This contains most of the methods used to fetch rows from the database, as well as the "insert()" method. The Alzabo::Runtime::Row docs - The row objects contain the methods used to update, delete, and retrieve data from the database. The Alzabo::Runtime::RowCursor docs - A cursor object that returns only a single row. The Alzabo::Runtime::JoinCursor docs - A cursor object that returns multiple rows at once. The Alzabo::MethodMaker docs - One of the most useful parts of Alzabo. This module can be used to auto-generate methods based on the structure of your schema. The Alzabo::Runtime::UniqueRowCache docs - This describes the simple caching system included with Alzabo. The Alzabo::Debug docs - How to turn on various kinds of debugging output. The Alzabo::Exceptions docs - Describes the nature of all the exceptions used in Alzabo. The FAQ. The quick reference - A quick reference for the various methods of the Alzabo objects. SCRIPTS
Alzabo comes with a few handy scripts in the eg/ directory of the distribution. These are: * alzabo_grep Given a regex and a schema name, this script will print out the table and column name for all columns which match the regex. * alzabo_to_ascii Given a schema name, this script will generate a set of simple ASCII tables for the schema. SUPPORT
The Alzabo docs are conveniently located online at http://www.alzabo.org/docs/. There is also a mailing list. You can sign up at http://lists.sourceforge.net/lists/listinfo/alzabo-general. Please don't email me directly. Use the list instead so others can see your questions. COPYRIGHT
Copyright (c) 2000-2003 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. AUTHOR
Dave Rolsky, <autarch@urth.org> perl v5.8.8 2007-12-23 Alzabo(3pm)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy