Stuck in making a website

Discussion in 'HTML & Website Design' started by arnolds12345, Sep 14, 2012.

  1. #1
    Just finished Learning HTML and CSS course on Nettuts+ I finished the 30 day course and I feel quite comfortable making a website now, but I have realized I can't make my website with this knowledge all alone.

    Firstly I want to make a funny picture website like w w w. funcage .c o m Yeah I know this isn't an original idea, but I really like this types of websites and enjoy browsing through them.

    What I want in my website is where you get random funny pictures show up by clicking at a side button or just pressing keyboard left or right or just pressing refresh ,but I want to add a feature that you can comment and rate the picture as well how can I do this I cant seem to do this with HTML AND CSS alone do I have to learn something else? I think I have to learn PHP, but I am not sure. If you know what I have to do please advise me on what I have to learn and if you know any good resources where to do this from I would be very great full.

    I am not sure if I am posting this here right apologys if I posted here something wrong.

    Also sorry for bad english :)
     
    arnolds12345, Sep 14, 2012 IP
  2. HBz

    HBz Peon

    Messages:
    51
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You're going to be dealing with databases here. I would look into making use of a content management system, rather than trying to build your applications from scratch. Yes, you will also have to use PHP as a means of interfacing with the database, among other things. But if you've just learned HTML and CSS, I think I'd try for something much smaller in scope first - static websites. A small, simple project to get your feet wet.

    You can learn a little bit of PHP to help deliver your static websites, for example - using PHP includes to dynamically serve pages, so that you only have to write the actual code for say, your header, your navigation, and your footer, once, in one file. Any changes to those elements then, only have to be made in one file as well.
     
    HBz, Sep 14, 2012 IP
  3. arnolds12345

    arnolds12345 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the advice man, So is a static website where the user has no real control its just a webpage displaying text maybe a few videos that is like 'what you see is what you get' if I am correct. Anyways I will try this out my friend thanks for the advice, and do you know how long it will take me to learn PHP is it hard to learn?
     
    arnolds12345, Sep 14, 2012 IP
  4. HBz

    HBz Peon

    Messages:
    51
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yeah, I think that about sums it up. The content may be dynamic depending on how you code it, but there's no database and no user accounts, etc.

    I am sort of a novice at PHP. I find for purposes like delivering static pages, it's really easy - it's mainly just php includes. The documentation online is fairly thorough and there's a lot of help at Google and StackOverflow if you have detailed questions. I find I could never really sit down and just learn PHP, but the times I've needed it for a specific application I was going for, I managed to pick up the pieces enough to a point where I am moderately comfortable with using it.
     
    HBz, Sep 14, 2012 IP
  5. ericfox

    ericfox Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    According to me 1. Low start-up cost
    2. Immediate up and running
    3. No fixed overheads but with some expenses
    4. No staffing problems
    5. No heavy capital outlay to purchase inventory
    6. No warehousing required
    7. No need for an office
    8. Work anytime and anywhere you want
    9. International customer base
     
    ericfox, Sep 17, 2012 IP
  6. badolfus

    badolfus Greenhorn

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    8
    #6
    To design a good website you must require the designing skills and design skills from Photoshop and Illustrator point of view and not from the HTML and CSS point of view, since you want to make it attractive. So you must design your site in Photoshop or Illustrator first, then you need to convert it into HTML and CSS, and once you are done with that, you have to add a custom platform or CMS in order to make your site dynamic so that you can easily upload and manipulate the picture, because uploading any picture in your site means database comes into consideration but as you have only learned HTML & CSS so you can't do it, for that you have to hire a developer or if you want to learn the tricks by yourself that is fine but will take a long time, since it’s not as easy as learning HTML & CSS, it takes time.
    Best of Luck!
     
    badolfus, Sep 17, 2012 IP
  7. visualtechnet

    visualtechnet Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you like to design, learn photoshop. If you like to code and build html, javascript, css etc., you can use dreamweaver or notepad. With additional functionality such as displaying random picts, displaying certain widget, slideshow etc, you may need advanced programming skills. Sometimes, it's worth getting someone's help to get things done. But if you are still up for learning all of these, W3C, Nettuts and the likes are really good resource. Good luck!
     
    visualtechnet, Sep 17, 2012 IP
  8. waynegomez

    waynegomez Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #8
    learn php for comment and jquery for the scrolling.
     
    waynegomez, Dec 13, 2012 IP
  9. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #9
    PHP is for server-side coding, Javascript (whether you use the jQuery library, another library or no library) is for client-side coding. Which you use isn't determined by what you're coding but where that code is going to run.
     
    Rukbat, Dec 13, 2012 IP
  10. waynegomez

    waynegomez Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #10
    yea but you could use php if youre into database like posting comments or jquery in sliding or scrolling pics and thats what he wants to do .
     
    waynegomez, Dec 13, 2012 IP
  11. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #11
    That's because database code happens on the server and scrolling pics happens in the browser, not because you arbitrarily choose to use those languages for those purposes. You can't write a scrolling gallery in PHP (unless you use it to output Javascript) and you can't connect to a server-side database with Javascript (unless you use HTML5 if they ever get it actually worth using). And the reason for the "can'ts" is where the code runs, not what it's doing.
     
    Rukbat, Dec 14, 2012 IP
  12. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #12
    Just looking at your markup, and your layout, you still have a LOT to learn about making websites. Of course that you're using that HTML 5 nonsense means you also learned from a bad tutorial -- this is evident in the absurdly undersized fixed width, complete lack of layout flexibility, absurdly undersized fixed metric (px) fonts, oddball nonsensical code style, gibberish/nonsensical use of heading tags resulting in broken heading navigation, STRONG on things that shouldn't be receiving 'more emphasis' much less already have meaning thanks to being in a heading, lack of block-level elements on lists of choices resulting in run-on sentences (something I know nothing about), illegible color contrasts in some places, etc, etc...

    THOUGH -- you are REALLY close. You've got some basics, time to step up your game.

    Things like comments and ratings, or anything that's going to be tracked by the server you should first make work WITHOUT javascript. PERIOD. That means you're going to have to learn some server side scripting like PHP or ASP... It's actually good you learned HTML first -- gives you a leg up on most of the people writing PHP and ASP -- the former being a real laugh when people learn PHP without learning HTML, when the entire point of PHP is to output HTML... :confused:

    Then when you make your scripts, they should ENHANCE that functionality, not replace it... though by that point you might realize what a handful of us have the past few years -- making the page take two or three times longer to load for some gee ain't it neat scripting doesn't 'enhance' a blasted thing. Mostly seems to be part of this weirdo paranoia that pageloads are somehow "evil".
     
    deathshadow, Dec 14, 2012 IP
  13. waynegomez

    waynegomez Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #13
    well ajax is in harmony with php that is what im trying to say, they are still effective even if the browser has disabled javascript.
     
    waynegomez, Dec 14, 2012 IP
  14. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #14
    AJAX, being Asynchronus JAVASCRIPT and XML, won't work if the user has Javascript disabled. Period. (AJAX isn't "in harmony with PHP", it uses PHP, or whatever the server-side language is on that site. But that's only for the server side, not the browser side.)

    I still disagree with Deathshadow on one point, though, There's nothing evil about page loads - but AJAX can give the user a much smoother experience.
     
    Rukbat, Dec 15, 2012 IP
  15. waynegomez

    waynegomez Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #15
    I dont know man but DB can still be retrieved by PHP so its up to him if he'll use javascript in presenting it t the browser. facebook wont use ajax if its not possible in the first place.
     
    waynegomez, Dec 16, 2012 IP