Development bit tech programming

Discussion in 'Software' started by v0id, 13 Apr 2002.

  1. v0id

    v0id What's a Dremel?

    Joined:
    2 Mar 2002
    Posts:
    600
    Likes Received:
    0
    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...
     
  2. linear

    linear Minimodder

    Joined:
    5 Oct 2001
    Posts:
    4,393
    Likes Received:
    1
    It's custom code written by Moose. Pretty damn cool, ain't it?
     
  3. Alaric

    Alaric code assassin

    Joined:
    3 Nov 2001
    Posts:
    2,881
    Likes Received:
    0
    what language?

    and i like the way hes search engine awared the pages.... no '?' like b4
     
  4. linear

    linear Minimodder

    Joined:
    5 Oct 2001
    Posts:
    4,393
    Likes Received:
    1
    I'll let Moose answer questions since I haven't seen anything but the user interface.
     
  5. v0id

    v0id What's a Dremel?

    Joined:
    2 Mar 2002
    Posts:
    600
    Likes Received:
    0
    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
     
  6. linear

    linear Minimodder

    Joined:
    5 Oct 2001
    Posts:
    4,393
    Likes Received:
    1
    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....
     
  7. relix

    relix Minimodder

    Joined:
    14 Nov 2001
    Posts:
    5,948
    Likes Received:
    41
    (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...
     
  8. pszaro

    pszaro What's a Dremel?

    Joined:
    11 Mar 2002
    Posts:
    206
    Likes Received:
    0
  9. moose

    moose What's a Dremel?

    Joined:
    12 Mar 2001
    Posts:
    789
    Likes Received:
    1
    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.
     
  10. v0id

    v0id What's a Dremel?

    Joined:
    2 Mar 2002
    Posts:
    600
    Likes Received:
    0
    the site looks great moose, your a god!!! haha, whered u learn PHP???
     
  11. moose

    moose What's a Dremel?

    Joined:
    12 Mar 2001
    Posts:
    789
    Likes Received:
    1
    I wouldn't quite go that far :D

    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. :)
     
  12. Alaric

    Alaric code assassin

    Joined:
    3 Nov 2001
    Posts:
    2,881
    Likes Received:
    0
    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
     
  13. moose

    moose What's a Dremel?

    Joined:
    12 Mar 2001
    Posts:
    789
    Likes Received:
    1
    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 :D (glad they did too, very handy things indeed)
     
  14. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    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! :D

    (don't get me wrong, I still suck at programing, but this is just to emphasize the importance of "fooling around" or experimenting)
     
  15. moose

    moose What's a Dremel?

    Joined:
    12 Mar 2001
    Posts:
    789
    Likes Received:
    1
    I'll drink to that :D
     
  16. kplonk

    kplonk What's a Dremel?

    Joined:
    1 Mar 2002
    Posts:
    44
    Likes Received:
    0
    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.
     

Share This Page