Making a blog from scratch with no php-knowledge

Discussion in 'Web Design and Development' started by the Western zoo, Nov 19, 2006.

  1. the Western zoo macrumors 6502

    the Western zoo

    Joined:
    May 16, 2006
    Location:
    Aarhus C, Denmark
    #1
    Hi,

    I am thinking of creating feedback posibilities on my blog, but I don't like any of the "package"-blogs out there, because they don't use my design - and although some of them say that I can change their templates, I haven't been able to find anywhere that tells me how easy that is... I was wondering if you people think it wound be too hard to learn how to make a php site that connects to a MySQL-database and then retrieves my blog from there? Cause I think that wound make me able to make the design I have in mind...!

    Another question: To enter new blog posts to the MySQL-database will I have to make posting and editing sites? And how easy is it to create password protected folders for these sites?

    Sorry to be so ignorant! :p
     
  2. Super Macho Man macrumors 6502a

    Super Macho Man

    Joined:
    Jul 24, 2006
    Location:
    Hollywood, CA
    #2
    I think it would definitely be MUCH easier to go with a prepackaged blog, and then customize it. Learning PHP and MySQL from scratch and getting good enough with it to write a full database-driven website would take you months, and then it would be your responsibility for upgrades, optimization, security, etc. Do some research on customizing existing blog software, that will take more like days. It's usually quite simple if the rest of your site is CSS-based... just link it to your main stylesheet, do some stylesheet tweaking, and you're already 75% finished... unless you are talking about some kind of totally wild design for your blog.
     
  3. Butters macrumors 6502

    Joined:
    Jan 7, 2006
    Location:
    UK
    #3
    If you don't have any php knowledge it's not going to be easy to make a blog from scratch, you'll probably end up relying on tutorials or getting lot's of help from other people when you may aswell have just used wordpress or some other package.

    You can change the designs to match pretty much whatever your site looks like, with some pakcages it's easier to do that than others. personally I only have experience with Wordpress and sNews, sNews was easier to customize because it's so lightweight and relies on about 2 actual pages for the entire system.

    If you were to go ahead and make your own system it would only be as complex and featurefilled as sNews I think so I recommend checking that out.
     
  4. the Western zoo thread starter macrumors 6502

    the Western zoo

    Joined:
    May 16, 2006
    Location:
    Aarhus C, Denmark
    #4
    okay... didn't think it would be that hard... :)

    just imagined it being mostly connect to MySQL, retrieve data, echo into the html document, disconnect to MySQL - guess I'll just put the idea on hold for now...
     
  5. socks macrumors newbie

    Joined:
    Nov 18, 2006
    Location:
    Southampton
    #5
    I disagree, I don't like these "package"-blogs either and so I'd prefer to write my own, and there are loads of tutorials out there to help you. I'm sure it would be much more interesting learning to program than just uploading a bunch of Wordpress files and hey-presto you have a blog.

    http://www.oxyscripts.com/item-408.html I think this tutorial is a good place to start, its a news management script, or in your case, blog management. Once you get the basics and understanding, you could develop it even further.
     
  6. advocation macrumors member

    Joined:
    Oct 18, 2006
    Location:
    Yeovil, UK
    #6
  7. spicyapple macrumors 68000

    spicyapple

    Joined:
    Jul 20, 2006
    #7
    I figure the time you spend coding a blog from scratch would take away from actually blogging. If you think PHP coding and hooking it to a mysql database would be easier than rewriting a bit of CSS code, then you'll be in for a surprise. :)

    Try Joomla and purchase some RocketTheme templates.
     
  8. the Western zoo thread starter macrumors 6502

    the Western zoo

    Joined:
    May 16, 2006
    Location:
    Aarhus C, Denmark
    #8
    well the ploblem with rewriting CSS is that I've never used CSS cause I've never learned it and have never found it useful to know it.... :D sounds stupid - I know!!

    well I couldn't resist and started reading some torturials, but then I found out that the mySQL service on my server wasn't working rigth now so in stead I wrote a new blog using php using another php-file as "database"...

    Before this I wrote a new html each time and didn't have an archive next to the text but you start with the archive make your pick, read and then go back to the archive - so this is a big improvement for me already!
    when the mySQL starts working again or I find a new host I'll give the feedback system another go....

    for those interested you can see my result here:
    http://west.users.whitehat.dk/blog.php?blogid=0
     
  9. cookie1105 macrumors 6502

    Joined:
    Mar 27, 2006
    Location:
    London, UK
    #9
    What is a blog anyway? Wikipedia defines it as:

    "A blog is a website where entries are made in journal style and displayed in a reverse chronological order."

    So theoretically you could just keep adding text or articles to your html pages and hey presto you have a blog. You don't even need a database at all. The problem being that everything is hard-coded and you don't have all of the added functionality that php allows, commenting etc....

    Learning php + MySql before having a solid grounding in xhtml + css, strikes me as learning to run before you can walk. Why don't you download a copy of wordpress and find a theme that is as close to your radical site design as possible. Then get a good css book and customize that theme to get as close to the design that you want as possible.

    You will find that with enough coding skill, wordpress is infinitely customizable and extendable. I'm at the stage now where I'm teaching myself php, because I really want to design my own plugins and themes.

    I honestly reccomend you not to discount something like wordpress before you give it a go. You might save yourself a lot of time and if you don't make an effort to learn css you are very soon going to get left behind in the world of webdesign
     

Share This Page