Check out my website!!! - Page 2

Sharky Forums


Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: Check out my website!!!

  1. #16
    Hammerhead Shark e_dawg's Avatar
    Join Date
    Jan 2001
    Location
    Earth, Western Hemisphere, North America, US, UT, SLC
    Posts
    2,628
    Tekime, Why is it taking a while to port that site? It appears to be dynamic, so shouldn't it just take a template change or similar?

    Since you are using PHP, if it isn't template-based, check out http://pear.php.net/ and look up the HTML templates section. You might want to move to a data-driven rather than flat-file-driven site design, since it is far easier to handle (I use something similar to forum code to input articles for my site in the database).

    Mine is all dynamically generated from the database, except for the actual page layout itself, which is a template. If I came up with a new and niftier design, I could change the layout of the data just by placing a new template in my templates directory.
    Last edited by e_dawg; 06-03-2002 at 06:25 PM.

  2. #17
    Hammerhead Shark Tekime's Avatar
    Join Date
    Dec 2001
    Location
    Falmouth, ME
    Posts
    2,347
    e_dawg,

    hehehe if only it were that easy.... I'm in the process of developing my own content manager, so the real work isn't in just changing the template, but rather in re-writing my CMS for additional functionality.

    I'm an intermediate PHP programmer, and the CMS was one of my projects that helped me learn the language. As such, it's gross. The code is ugly, it's very static, and bulky. I'm trying to 'modulize' the entire project, so like I said I'm pretty much re-writing the whole thing. Most of my time is spent on that, as opposed to just whipping off a few style sheets. Maybe I'm dumb to re-write the wheel but it's fun as hell and by the time I'm done I'll have a full-fledged CMS on my hands. Hopefully sometime down the road I'll make it publicly available, but for now it's just too yucky

    Also I have been wasting a lot of time on a forum project I had going; it was originally developed in Perl/MySQL (I had and still have a huge affinity for the language), but I've become addicted to PHP for web content and began re-writing the forums in PHP.

    That, combined with a full-time job, a full time girlfriend, a vicious addiction to spinning vinyl and part time tech work I don't have a lot of free time.

    Does that answer your question?
    Stuff and stuff

  3. #18
    Hammerhead Shark e_dawg's Avatar
    Join Date
    Jan 2001
    Location
    Earth, Western Hemisphere, North America, US, UT, SLC
    Posts
    2,628
    Yessir, it does...

    Mine is also my homebrew content management system (though I am too lazy to make a nice administration tool at present, so it isn't ready for initial OSS release).. I noted its main tricks above.

    If you want to read and/or use the code I use to generate my site, drop me an email. Maybe we could combine forces.

    Mine is rather light at the moment, the code is dirty, and it doesn't have categories (yet), however it does show how to use templates to totally modularize the web design portion from the programming portion. For my site I implemented a cross between forum code and everything2 style hyperlinking, so it is pretty neat that way (it still needs a nice administration tool, as I said before)... I could toss together a data-driven category system without much effort as well.

  4. #19
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077
    I made a contact management system out for funzies last summer with PHP/MySQL. It was definitely a rewarding experience, and much like yourself Tekime, the main reason I did it was to give myself an excuse to better-familiarize myself with the language.

    Cool thing is I love my Contact management system, I've used it exclusively for the past year, I honestly don't know what I'd do without it! You can scope it out for ideas if you want: http://elephant.wox.org:81/

    Unfortunately I don't see myself doing any cool side-projects like I did last summer. I too have a full-time job and a full-time girlfiend gobbling up my time like crazy. But lately - any time I have off from work, I'm in NO mood to code or even look at a computer for that matter.

    Anyways, I'll be happy to swap source-code with yourself and e_dawg if you ever want some code snippets/examples to get you started.

  5. #20
    Hammerhead Shark Tekime's Avatar
    Join Date
    Dec 2001
    Location
    Falmouth, ME
    Posts
    2,347
    Nice work, Grizzly. I took the liberty of setting up an account, and it has a very clean interface; impressive

    I'd love to see your code too, guys. I could use all the help I can get and I'm interested to see how other people are managing their code.

    I think my biggest struggle at this point will be breaking down my site into more replaceable components; it's really only usable for myself now due to its nature. My biggest achievement so far, though, is a database structure for tracking multi-level categories, so I can use recursive functions to get infinite levels of categories (which Grizzly helped me out with some, thank you!).

    You should see an email soon too, e_dawg.
    Stuff and stuff

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •