![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
King of Portal
|
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 |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Re: Mimesis
Awesome. Let's see some sample scripts!
![]() |
|
|
|
|
|
#3 |
|
King of Portal
|
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 |
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
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 |
|
|
|
|
|
#5 |
|
King of Portal
|
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 |
|
|
|
|
|
#6 |
|
King of Portal
|
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 |
|
|
|
|
|
#7 |
|
King of Portal
|
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 |
|
|
|
|
|
#8 |
|
King of Portal
|
Re: Mimesis
Released Mimesis v1.5 today. As you can see on the site lots of changes.
__________________
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 |
|
|
|
|
|
#9 |
|
King of Portal
|
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 |
|
|
|
|
|
#10 |
|
King of Portal
|
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|