Welcome Guest, Not a member yet? Register   Sign In
Custom CI session library for MongoDB
#1

[eluser]Unknown[/eluser]
Hi, just in case someone else happens to be working with both Mongo and CI... I extended a custom session library from the CI 1.7.2 CI_Session class to enable storing data into MongoDB instead of an SQL database. As the default class is not really designed to be extended this way, the implementation might not work on other versions, but if you are looking for a way to use CI sessions with Mongo, check this out.

You can download the Mongo session class from here: http://www.precond.com/files/CIMongoSession.zip
#2

[eluser]dioramayuanito[/eluser]
[quote author="Juhana Räsänen" date="1288660332"]Hi, just in case someone else happens to be working with both Mongo and CI... I extended a custom session library from the CI 1.7.2 CI_Session class to enable storing data into MongoDB instead of an SQL database. As the default class is not really designed to be extended this way, the implementation might not work on other versions, but if you are looking for a way to use CI sessions with Mongo, check this out.

You can download the Mongo session class from here: http://www.precond.com/files/CIMongoSession.zip[/quote]

Your work is very Good !

but now, i have to remake your code for CI 2.0

have u change your code for CI 2.0 ?
just 4 my curiosity...

THANKS ALOT!
#3

[eluser]Unknown[/eluser]
Hi, unfortunately not, but the code is there for grabs, so go for it! ;-)
#4

[eluser]Basketcasesoftware[/eluser]
Maybe I might even take the time to find out what Mongo is! :red:
#5

[eluser]dioramayuanito[/eluser]
[quote author="Basketcasesoftware" date="1297864673"]Maybe I might even take the time to find out what Mongo is! :red:[/quote]

Applicant : I've never learn SQL bos...
Bos : OK You got in! You've learn NoSQL !

"MongoDB , NoSQL , NoWorry , ..."

wkakakakakak!
#6

[eluser]Basketcasesoftware[/eluser]
LOL. Ok. Another DB system I take it? Years ago (mid-1980s) I coded a multiple-linked database for the U.S. Government. I did it in DBase II. Under DOS 3. During this time the SQL "standard" was sort of being developed. All the things SQL systems do for you I had to write the code for myself. Flash forward a few years and I start grabbing references on SQL. I found there were a LOT of very thick books that were full of trivial examples and limited info on what really made SQL so special. SQL reminds me of COBOL as far as linguistic structure. Very much so. And with less control over how data was manipulated than what I had in that early version of DBase. Sad.
#7

[eluser]dioramayuanito[/eluser]
[quote author="D10R4M4" date="1297863040"][quote author="Juhana Räsänen" date="1288660332"]Hi, just in case someone else happens to be working with both Mongo and CI... I extended a custom session library from the CI 1.7.2 CI_Session class to enable storing data into MongoDB instead of an SQL database. As the default class is not really designed to be extended this way, the implementation might not work on other versions, but if you are looking for a way to use CI sessions with Mongo, check this out.

You can download the Mongo session class from here: http://www.precond.com/files/CIMongoSession.zip[/quote]

Your work is very Good !

but now, i have to remake your code for CI 2.0

have u change your code for CI 2.0 ?
just 4 my curiosity...

THANKS ALOT![/quote]

Hello Everybody !

please look at /forums/viewthread/181365/

if you use CI 2.0...

thx Juhana !




Theme © iAndrew 2016 - Forum software by © MyBB