URL:
  <http://gna.org/task/?6470>

                 Summary: Submission of Easy c++ mysql read writer
                 Project: Gna! Administration
            Submitted by: endriu
            Submitted on: Friday 02/06/2009 at 14:40
                  Status: None
         Approval Status: None
         Should Start On: Friday 02/06/2009 at 00:00
   Should be Finished on: Monday 02/16/2009 at 00:00
                Category: Project Approval
                Priority: 5 - Normal
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

A new project has been registered at Gna! 
This project account will remain inactive until a site admin approves or
discards the registration.


= Registration Administration =

While this item will be useful to track the registration process, *approving
or discarding the registration must be done using the specific Group
Administration <https://gna.org/siteadmin/groupedit.php?group_id=2901> page*,
accessible only to site administrators, effectively *logged as site
administrators* (superuser):

* Group Administration
<https://gna.org/siteadmin/groupedit.php?group_id=2901>


= Registration Details =

* Name: *Easy c++ mysql read writer*
* System Name:  *easymysql*
* Type: Programs
* License: GNU General Public License V3 or later

----

==== Description: ====
Hi, I'm Andrea, from Italy.
This project is like a C++ wrapper around mysql++ ssqls. A template class
allocated with a ssqls struct will provide transparent read/write on mysql
db. Many applications need to store objects, and have to write code for
persistence. Deriving your own object from this new class will let you manage
ONLY memory issues. At the moment you need to save your class onto db, it is
sufficient to invoke a "save" method on it.
You can reload the object, if errors occur.
It is simple, but useful.
This class manages also attribute lists, stored in side db tables tied to
main table by foreign key (Father-child relationship). In this case you must
specify a foreign key relationship.

Example:
** file Father.h
class Father : public StorableObject< Father_db, Father, Child > { ... normal
class declaration/definition ...}

** file main.cc
Father f;
f.setId( .. );
f.getChildren().push_back( aChild );
f.insert();


Once defined Father_db with ssqls macro, and a ForeignKey< Child > class, you
are able to read, write, update main table and all child tables.
Rollback will also be implemented in error case.

************ NOTE *****************
I have NO URL where to post my source code, but the project is already
compiling, and any cppunit tests also already written.
Can you address were to deploy files?

Thank you!
Andrea.







==== Other Software Required: ====
mysql++
libconfig.so (or any other free data eng manager)







    _______________________________________________________

Reply to this item at:

  <http://gna.org/task/?6470>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Register mailing list
[email protected]
https://mail.gna.org/listinfo/register

Reply via email to