That just had to happen.....
-
i have been designin a shopping website for my aunt. I have spent the last few days on it, spending probably around 7-8 hrs a day [i know little PHP and had to learn about most of what i wrote]. my aunts web package did not have DB access, i knew that, so i was using XML. anywaz, after a few days, i had tested what i had done on my comp, and decided to test it out on the net, only to find it did not work there, yet it worked on my comp. so i sent the webhost and email, and they replied, that the package that my aunt had, does not allow you to run your own scripts :mad: :mad: . so i spoke to my aunt, and she was prepered to pay the little extra a month ao my scrupts can be run. then i carried on coding, when suddenly, about 30mins ago, i thought, a file based system is much slower than database, my aunt new package has database access, so I should make it in that.:mad: :mad: :mad: i would not be so bothered, if not for the fact ive spen sooooo many hours on it.:mad: :mad: :mad:
:bob: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk:bob:
Try getting into the habit of coding with some modularity. For instance, I have a PHP API set I've been keeping around and working on for a couple of years now. Wrap the process of whatever into something external, so if you need to change it later on, it won't be as a big pain the arse. But, for performance's sake, don't get too carried away with it because PHP is not compiled. For instance, I have several DB include files. They are
mysql.inc
,mssql.inc
,oracle.inc
, andodbc.inc
. They all encapsulate the functionality needed to work with these DBMSs, and I can change my programs to work with anyone of them with a simple change in the include. I'm about to add a couple more too (likexml.inc
) when I get off my butt. Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavino -
Try getting into the habit of coding with some modularity. For instance, I have a PHP API set I've been keeping around and working on for a couple of years now. Wrap the process of whatever into something external, so if you need to change it later on, it won't be as a big pain the arse. But, for performance's sake, don't get too carried away with it because PHP is not compiled. For instance, I have several DB include files. They are
mysql.inc
,mssql.inc
,oracle.inc
, andodbc.inc
. They all encapsulate the functionality needed to work with these DBMSs, and I can change my programs to work with anyone of them with a simple change in the include. I'm about to add a couple more too (likexml.inc
) when I get off my butt. Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavino -
Try getting into the habit of coding with some modularity. For instance, I have a PHP API set I've been keeping around and working on for a couple of years now. Wrap the process of whatever into something external, so if you need to change it later on, it won't be as a big pain the arse. But, for performance's sake, don't get too carried away with it because PHP is not compiled. For instance, I have several DB include files. They are
mysql.inc
,mssql.inc
,oracle.inc
, andodbc.inc
. They all encapsulate the functionality needed to work with these DBMSs, and I can change my programs to work with anyone of them with a simple change in the include. I'm about to add a couple more too (likexml.inc
) when I get off my butt. Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavinowell, i already have an xmlish type system that i can convert, once the code is neatened up a lot, and with a little variation, so that it can be used with any project. The DB system that im making now, is generic, so it can be used in any project, i learnt from my previous mistake.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors." -
Jeremy Falcon wrote: Try getting into the habit of coding with some modularity. Yup, hindsight is wonderful! :rolleyes: Cheers, Simon "Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
SimonS wrote: Yup, hindsight is wonderful! why would you want to be looking at at an animals back-end. ;P
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors." -
Try getting into the habit of coding with some modularity. For instance, I have a PHP API set I've been keeping around and working on for a couple of years now. Wrap the process of whatever into something external, so if you need to change it later on, it won't be as a big pain the arse. But, for performance's sake, don't get too carried away with it because PHP is not compiled. For instance, I have several DB include files. They are
mysql.inc
,mssql.inc
,oracle.inc
, andodbc.inc
. They all encapsulate the functionality needed to work with these DBMSs, and I can change my programs to work with anyone of them with a simple change in the include. I'm about to add a couple more too (likexml.inc
) when I get off my butt. Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavinou would mind sharing would u?
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors." -
u would mind sharing would u?
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors."I don't mind at all. I want to revamp some (maybe this'll motivate me to get off my arse), but I need to set-up Apache 2.0 with PHP on my Unix box at home to code and test the new stuff. I'll shoot you a zip file when I get home and cover the details and my plans for updates, etc. and just collaborate in general about web dev. This way, I'll feel better about gettin' you to help me with my site. I don't like the something for nothing policy too much. :) Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavino -
well, i already have an xmlish type system that i can convert, once the code is neatened up a lot, and with a little variation, so that it can be used with any project. The DB system that im making now, is generic, so it can be used in any project, i learnt from my previous mistake.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors."Nnamdi Onyeyiri wrote: i learnt from my previous mistake. That's the best way to learn. The teachings stick with us that way. :) Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavino -
I don't mind at all. I want to revamp some (maybe this'll motivate me to get off my arse), but I need to set-up Apache 2.0 with PHP on my Unix box at home to code and test the new stuff. I'll shoot you a zip file when I get home and cover the details and my plans for updates, etc. and just collaborate in general about web dev. This way, I'll feel better about gettin' you to help me with my site. I don't like the something for nothing policy too much. :) Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavinoi dont mind, although, i am developing my aunts site [which i'll get paid for on completion] so i will not be able to devote complete attention to yours, as i also have my site. right now, ive just found out about templates, and am contemplating if they will be effective in the site im making.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors." -
i dont mind, although, i am developing my aunts site [which i'll get paid for on completion] so i will not be able to devote complete attention to yours, as i also have my site. right now, ive just found out about templates, and am contemplating if they will be effective in the site im making.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors."Nnamdi Onyeyiri wrote: i dont mind, although, i am developing my aunts site [which i'll get paid for on completion] so i will not be able to devote complete attention to yours, as i also have my site. Understandable. We can talk about your plans via email/chat I guess. I'm in no hurry; I just wanted you to know I didn't forget about ya. :) Jeremy L. Falcon Homepage : Sonork = 100.16311
"The height of your accomplishments will equal the depth of your convictions." - William F. Scolavino -
i have been designin a shopping website for my aunt. I have spent the last few days on it, spending probably around 7-8 hrs a day [i know little PHP and had to learn about most of what i wrote]. my aunts web package did not have DB access, i knew that, so i was using XML. anywaz, after a few days, i had tested what i had done on my comp, and decided to test it out on the net, only to find it did not work there, yet it worked on my comp. so i sent the webhost and email, and they replied, that the package that my aunt had, does not allow you to run your own scripts :mad: :mad: . so i spoke to my aunt, and she was prepered to pay the little extra a month ao my scrupts can be run. then i carried on coding, when suddenly, about 30mins ago, i thought, a file based system is much slower than database, my aunt new package has database access, so I should make it in that.:mad: :mad: :mad: i would not be so bothered, if not for the fact ive spen sooooo many hours on it.:mad: :mad: :mad:
:bob: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk:bob:
Cheer up Nnamdi! At least it must have improved your coding, huh? Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Cheer up Nnamdi! At least it must have improved your coding, huh? Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
yer, ive been recoding it all day, so that it is more generic, and can be switched from XML to MySQL easily. Nishant S wrote: Cheer up Nnamdi! i like it when people use my name in reply posts, it makes it feel more personalised.
:suss: Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
:suss:"All programmers are playwrights and all computers are lousy actors."