Search found 7 matches

by pht
Tue Feb 01, 2005 3:07 pm
Forum: Databases
Topic: nested data, copying and moving tree branches
Replies: 4
Views: 437

If you mean DB_NestedSet, i've tried that too...
by pht
Tue Feb 01, 2005 10:33 am
Forum: Databases
Topic: nested data, copying and moving tree branches
Replies: 4
Views: 437

!!!Materialized Path!!! That maybe the keyword. Yeah, thanks for reference. I didn't found that document by myself when "googling", only repeating same documents from sitepoint. Going forward...
by pht
Tue Feb 01, 2005 6:21 am
Forum: Databases
Topic: nested data, copying and moving tree branches
Replies: 4
Views: 437

nested data, copying and moving tree branches

Hi I've been messing with this problem some days. I have tried MPTT method to collect and organize data in hieracrhical structure, but still donno, is it the best method or should i continue with next theme: DB:nodes node_id node_ppath node_depth DB:datas data_id data_node_id data_type data_title da...
by pht
Sat May 22, 2004 8:49 am
Forum: PHP - Code
Topic: Database table access class generator
Replies: 3
Views: 291

Ok, now checked PEAR DB_DataObject and it was fine. I got some ideas from there as you said. Have to be careful not to invent wheels again. :) Ok, if we are realistic, there is nothing new below the Sun.
by pht
Sat May 22, 2004 7:55 am
Forum: PHP - Code
Topic: Database table access class generator
Replies: 3
Views: 291

It's quite like a DAO. But i think mine is more simple than PEAR's one, althought i have never heard that particular package. One amuzing coincidence happened, when i was reading SitePoint's php forum. One man had just posted same kind of ideas for the code generator. You may want to look funny cros...
by pht
Sat May 22, 2004 6:57 am
Forum: PHP - Code
Topic: Anything wrong with this mysql?
Replies: 3
Views: 529

Are you sure, you are comparing right values in if ($user=="$real_username" && $pass=="$real_password") { shouldn't it be: if ($user=="$real_username" && $password=="$real_password") { because sql query may give you only encrypted form of passw...
by pht
Sat May 22, 2004 6:47 am
Forum: PHP - Code
Topic: Database table access class generator
Replies: 3
Views: 291

Database table access class generator

I'm not sure if this is right place to ask comments for this php tool. I've been developing some sort of code generator for php. Since my experience in pure programming area is only few years i decided to ask some comments and advices from you fellows, if it's ok? I have found very time consuming to...