Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 3rd, 2008, 1:27 AM   #1
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Mimesis

Mimesis

Mimesis is a flat file database package. As of right now it's "functional" but it still needs some tweaks. In case anybody's been wondering this is what basically all the stuff I've been working on has been leading up to. Too many people frequent my GrimBB site looking for a flat file database, so I decided to separate GrimBB's integrated database (i.e. grimBase) and create Mimesis. Eventually I'll modify GrimBB to make use of Mimesis as its database backend (Mimesis is based on what I've learned from GrimBB and a couple of new tricks).

The website is incomplete. The links above the news aren't complete and don't go anywhere. The source code is available for download AS IS though.

Of course you need Pando to download it. On another thread someone mentioned that it sucks to download Pando to download my code. I concur. However, I explained on GrimBB's main site why I made the change and I find Pando very useful so I like giving people some incentive to download it and try it (I'm sure torrent files originally had nay sayers as well).

Back to Mimesis, the best part I'd say... the squid logo, it's sweeeeeet
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old Feb 3rd, 2008, 6:58 AM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,798
Rep Power: 5 Sane will become famous soon enough
Re: Mimesis

Awesome. Let's see some sample scripts!
Sane is offline   Reply With Quote
Old Feb 15th, 2008, 11:23 PM   #3
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: Mimesis

Took me awhile Sane but I managed to do what you asked for. I've just released v1.1 and the site now has an example (albeit a very oversimplified and not too complex one) for an ad rotator.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old Feb 23rd, 2008, 2:25 PM   #4
Game_Ender
Professional Programmer
 
Game_Ender's Avatar
 
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3 Game_Ender is on a distinguished road
Re: Mimesis

This borders on *not* being open source. You have to download a closed source application to get at the source code and its one which only works on Windows and Mac.

My advice: Create a source forge account and upload your source there. No need to worry about all the bandwidth that 64k file is going to take up, or stupid web hosts. You could even put your source repository up there as well.
__________________
Robotics @ Maryland AUV Team - Software Lead
Game_Ender is offline   Reply With Quote
Old Feb 24th, 2008, 6:01 PM   #5
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: Mimesis

I don't really like sourceforge, as I've already tried to use it before. Besides, once one person downloads it they can redistribute it. i.e. open source. So feel free to do so.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old Feb 26th, 2008, 3:41 PM   #6
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: Mimesis

Put out v1.2 it fixed an error with the Mutex class that always returned false on the releaseLock() method. It also incorporates the file-locking into Mimesis so that it's no longer necessary to use the Mutex class separately to obtain file locks. Finally, it also allows for redefining the table row so that the lock does not undo itself. phpDocs and tutorial were updated to reflect these changes as well.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old Mar 26th, 2008, 2:37 PM   #7
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: Mimesis

I've included a tutorial which explains how to add images into a mimesis constructed database, and to use the database as a way to obscure the URL so as to prevent hotlinking. These procedures can be used for any file.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old May 15th, 2008, 2:51 AM   #8
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: Mimesis

Released Mimesis v1.5 today. As you can see on the site lots of changes.
Attached Files
File Type: zip mimesis.zip (30.2 KB, 2 views)
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old May 21st, 2008, 3:43 AM   #9
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: Mimesis

Yet another sample script for ya Sane. A Guest Book.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old May 25th, 2008, 1:57 PM   #10
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 399
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
v1.8 release

Realized that there was a problem in terms of portability between different servers due to the use of the file_get_contents function, and also the file_place_contents function. Both of these failed to use the "b" flag so as to denote binary input rather than textual input. Doesn't make much of a difference if you're always working on the same OS, but since Mimesis needs to work everywhere the line break characters differ on win, linux, mac, etc. So that change was made to take this into account. The file_get_contents function was actually replaced with a custom file_retrieve_contents function.

Furthermore, the zip file that contains mimesis is now being distributed via http rather than via pando. However, you still need to go to the main Mimesis homepage to get it. This is to prevent hotlinking to the file. The site itself actually stores the zip file using Mimesis as per the File Inclusion tutorial, so my very own website is now Mimesis powered. Hope that helps soothe your woes Game_Ender
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:15 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC