![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
Fellow perl guru's
Is it possible to store a data structure / object into a mysql BLOB field ? I mean i know the theory using Storable and freeze and thaw. But before i start testing, did someone do this before ?
Thanks, B.
__________________
MacDaddy Coder. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
perl sucks, hehe
in php u can use serialize() to put an object into a string and store it in any db. unserialize() to get it back.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Jan 2004
Location: Cortland, OH
Posts: 451
|
Quote:
__________________
Looking for Fast Professional Programming? http://www.imadigan.com ICQ: 314-942-262 | MSN/Email: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
Yes. We're currently doing exactly what you've described. Just make sure you're not storing anything in the blob you could conceivably wish to sort on.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats." --H.L. Mencken |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
Quote:
Thanks, B.
__________________
MacDaddy Coder. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
php version 5 is gonna have even more OO features. even if you do an object oriented design for your application, you will be able code it easily with php.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
So Fucking Banned
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
|
perl is the past, php is the future. 'nuff said.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
I help you SUCCEED
Industry Role:
Join Date: Nov 2003
Location: The Pearl of the Orient Seas
Posts: 32,195
|
This thead makes me wish that I took Computer Science/Electrical Engineering in college rather than history.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
So Fucking Banned
Join Date: Aug 2002
Posts: 5,579
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
but actually Computer Science requires more academic studying. If u study in a serious Computer Science program in a respectable college, you find that they actually leave out most subjects that people can learn just by themselves. There is a reason why most textbooks are special ordered and you can't find them in Barnes&Noble's.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |