what does bit tech use to do revews, front page news, ect... im thinkin about writing my own thing to post reviews and a main page poster thingamabob but i dont know how i would make a review several pages long...
well im writing my own in PHP but i still dont understand how i'd get a review to be more than one page.... like if ya wanted to spread it out.... just diff sets of text boxes and if they arnt filled in, then make it so they dont make a page or a link???? blah
This is a lovely case study for one of my favorite concepts: "Get the data model right and the code nearly writes itself." Not to give you the answer, but think about what the basic unit (i.e. one row in a table) you want to store in your db is. Get the right answer, and problem solved. There are a few different ways to dynamically paginate text, and PHP is a lgreat tool to have for the job, but think about the problem a little differently....
(I certainly know that linear won't like this answer, but it's A answer...) use Ultradev, it has built in scripts for ASP to log in users with passwords, databases, creating records and displaying records and yeah, the generated code is even a bigger mess than the generated HTML code (linear: you know there is a "clean up html code" command in dreamweaver right? Which transforms nested font tags into one and stuff? Just a comment on your sticky ) so it's only good for your last resort...
No use having linear leaving me to answer questions if I don't notice them bit-tech is written in PHP both front and (dodgey) backend - I'd read that having the query strings in URL's knocked some search engines for six, so thought it better to use the method we currently employ - however I do think that it's a touch load intensive compared to the classical approach.
I wouldn't quite go that far I didn't so much learn PHP, but picked bits up as I went along, together with my understanding of the concepts of programming as a whole. I started off my career wanting a web-form to email several people formatted information, and my host wasn't able to provide me with cgi facilities. It was suggested that I look into php, which I did, and found a suitable example and 'beginners' code examples. It sorta just snowballed from there. I've been doing PHP on and off for about two years or so now. I've found for me at least, with no prior backround in programming - that learning through example can't really be beaten. As you learn what can be done, and how, you soon find yourself thinking "how could I do such and such with php" - and chances are your logic is correct, but you lack the specific knowledge of php functions to get the job done - that's where experienced friends, example code or even simply aimlessly looking / searching the php.net website comes into play.
aww u beat me i've only been doing php for ooooh 22 months :/ (june 2000) couldn't have put it better myself... altho i had done a small bit of perl/cgi b4 hand so i knew loops, conditional statements, variables, arrays etc
hehe Well I've only been getting useful code done in the past year or so. I found arrays really hard to grasp for a long while, untill one day they just clicked (glad they did too, very handy things indeed)
Pretty unrelated, but somehow fits.. I hope... I remember my first time to use Linked Lists using Arrays, and Linked Lists using pointers... I didn't understand what a linked list was, much less what a pointer was... My assignment was due in like 4 hours, and I finally gave up and decided to go in for help the next day & get 10 points taken off, and played around for a while,... for no reason whatsoever, it clicked.... I was just fooling around with some C code, and it made sense... *light shines in from window on my computer* *I close the curtains* WooT! (don't get me wrong, I still suck at programing, but this is just to emphasize the importance of "fooling around" or experimenting)
Not only is the db structure important but so is the physical structure if the files and dir’s on the server. Think about the way the site will map out and then build scripts to take advantage of this tree like structure. I have a site that is built in perl using url encoding but have decided to get into php, well worth a look is nice and quick.