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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-08-2004, 02:19 PM   #1
boldy
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.
boldy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 03:07 PM   #2
Lane
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.
__________________
Lane is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 03:18 PM   #3
AvanteGuard
Confirmed User
 
Join Date: Jan 2004
Location: Cortland, OH
Posts: 451
Quote:
Originally posted by Lane
perl sucks, hehe
That's right!
__________________
Looking for Fast Professional Programming? http://www.imadigan.com
ICQ: 314-942-262 | MSN/Email: [email protected]
AvanteGuard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 03:18 PM   #4
NetRodent
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
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 03:44 PM   #5
boldy
Macdaddy coder
 
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
Quote:
Originally posted by Lane
perl sucks, hehe
Sometimes i agree, but most of the times i fall back on perl or c++ for backend stuff. But you're right php is more useful/faster for frontend programming ...

Thanks,

B.
__________________
MacDaddy Coder.
boldy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 04:53 PM   #6
Lane
Will code for food...
 
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
Quote:
Originally posted by boldy


Sometimes i agree, but most of the times i fall back on perl or c++ for backend stuff. But you're right php is more useful/faster for frontend programming ...

Thanks,

B.
you can use php for backend as well. you can run it from the command line.
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.
__________________
Lane is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 04:58 PM   #7
JSA Matt
So Fucking Banned
 
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
perl is the past, php is the future. 'nuff said.
JSA Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 05:46 PM   #8
$5 submissions
I help you SUCCEED
 
$5 submissions's Avatar
 
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.
$5 submissions is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 05:49 PM   #9
Rorschach
So Fucking Banned
 
Join Date: Aug 2002
Posts: 5,579
Quote:
Originally posted by $5 submissions
This thead makes me wish that I took Computer Science/Electrical Engineering in college rather than history.
I studied arts when I was at uni too but the great thing about coding is that you can learn everything from textbooks and online, and if you're a fast learner you can probably do it more quickly than if you did a course.
Rorschach is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2004, 06:42 PM   #10
Lane
Will code for food...
 
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
Quote:
Originally posted by Rorschach


I studied arts when I was at uni too but the great thing about coding is that you can learn everything from textbooks and online, and if you're a fast learner you can probably do it more quickly than if you did a course.
yea, programming can be learned at home.
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.
__________________
Lane is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.