Welcome Guest, Not a member yet? Register   Sign In
what about txt database driver
#1

[eluser]Unknown[/eluser]
hi guys!

about two days ago i need to store data in text files. i found library for this. it call txt-db-api. what do you think about include it or something else to DB_Drivers in CodeIgniter. In some cases it will be wery usefull. Maybe exists already done solutions but i don't know about them. let me know if it is.
parsing of txt files fopen/fread is not interesting as well. txt-db-api can work with txt files like with SQL database
#2

[eluser]jedd[/eluser]
Hi Anyxem and welcome to the CI forums,

It looks interesting. ( [url="http://www.c-worker.ch/txtdbapi/index_eng.php"]PHP Text DB API[/url] for anyone interested, but too lazy to find it themselves. )

I don't expect it would warrant a 'core component status' -- not my call, though -- but on the other hand, it might be an interesting option for some users. Did you investigate what would be involved in just turning it into a CI-friendly model or library yourself? I pondered writing a very simple authentication system using text files - auth systems seem to be the one thing that some simple sites end up having to crank up a database for, which seems like a bit of a waste in many cases. But pondering was as far as I got with that one.
#3

[eluser]Unknown[/eluser]
Actually, i need ability to work with txtLike databases for detail statistics of showing and clicks banner system. On start of this week mysql database is died (grater than 6GiB file is crashed) and nothing to do with this. Then i decided to save statistics in separate files. All logic of operating is exsists, and its was pretty if i can change database driver and all be working.

I was searching on CI-forums and wiki and doesn't fint anything about it, so this week-end i'm planning to devote for developing of this driver. i want to know about licensing of it's. thus API is "AS IS", so can i use it's component for driver
#4

[eluser]garymardell[/eluser]
You may want to look into sqlite maybe. Its a self contained etc and just one file on disk.
http://www.sqlite.org/about.html
#5

[eluser]Unknown[/eluser]
what about developing a new driver off this nice txtsql class ...

http://www.phpclasses.org/browse/package/4085.html

Execute SQL queries to manipulate file databases

Would be very nice to have this integrated within CI and would ease a lot of textdb handling with given sql code.




Theme © iAndrew 2016 - Forum software by © MyBB