html to.. Question
html to.. Question
is there any tool to convert html to php or css or joomla or wordpress, if not how do i do that? is there an easier way or its always the hardway? which is more efficient, easy, hard, reliable and security etc. to use. i know that i should search first before asking any questions but sometimes i need to talk to someone understand it a lil bit more and its better to ask the gurus around suck-o to the get exact information. anything you say is appreciated. thanks! have a good day..
Last edited by skip on 12 Jul 2008, 04:47, edited 1 time in total.
The HTML is just for input/output data, it shows the output data and lets you input data. While PHP processes it. When you open a site, it's the html you see, you can't see the PHP since it only processes and "decides" what kind of html you see. CSS is just something someone made to annoy people. OK that was a lie. CSS is very efficient and gives you full control over how the site looks. JavaScript is a little special, since you can both build design with it, and process info.
Web applications like Joomla and PHPNUKE are basically just sites built in PHP, HTML, CSS (and maybe some javascript).
Hope that clears it up a bit ^^
Web applications like Joomla and PHPNUKE are basically just sites built in PHP, HTML, CSS (and maybe some javascript).
Hope that clears it up a bit ^^
"The best place to hide a tree, is in a forest"
My two cents if I may,
HTML is what you need to define the structure of a document, I mean, what should be on top of the page, a heading? several links? navegation menu? What should be showed next, a div? an object? images inside a div? There will be a text area so users can input something like a search or comments system? Is any of those inside a div? a table?
All that is the principle of the HTML, at least, is what is intended, to use the markup language to define the structure, what should be on top, what should be next, who are the parents who are the childs.
PHP (or ASP or JSP or the like) are in charge of the "logic" of the website if such website needs to have dynamic content, in most cases based on inputs, let's say that you have a comments system where people can write their opinions about an article you posted, after they click the Submit button, what should be done? whatever the user wrote should be saved in a database? should be parsed by some filter? should be send by email?
All this decisions and the process to complete such decisions as Cats said is the idea of the server side scripting language like PHP
Finally, css is intended for the layout, nothing less, basically, how your website will look when is rendered on the browser
You need to define what do you want your site does before start development, is the only way you know what you need, if it's for serving only static data (pages which content won't change very often) then you only need html and css, if you want dynamic content (like a blog) then you'll need html, css, a server side scripting language and more likely a database system, although you could manage all the content to be saved in xml files but that's other subject
HTML is what you need to define the structure of a document, I mean, what should be on top of the page, a heading? several links? navegation menu? What should be showed next, a div? an object? images inside a div? There will be a text area so users can input something like a search or comments system? Is any of those inside a div? a table?
All that is the principle of the HTML, at least, is what is intended, to use the markup language to define the structure, what should be on top, what should be next, who are the parents who are the childs.
PHP (or ASP or JSP or the like) are in charge of the "logic" of the website if such website needs to have dynamic content, in most cases based on inputs, let's say that you have a comments system where people can write their opinions about an article you posted, after they click the Submit button, what should be done? whatever the user wrote should be saved in a database? should be parsed by some filter? should be send by email?
All this decisions and the process to complete such decisions as Cats said is the idea of the server side scripting language like PHP
Finally, css is intended for the layout, nothing less, basically, how your website will look when is rendered on the browser
You need to define what do you want your site does before start development, is the only way you know what you need, if it's for serving only static data (pages which content won't change very often) then you only need html and css, if you want dynamic content (like a blog) then you'll need html, css, a server side scripting language and more likely a database system, although you could manage all the content to be saved in xml files but that's other subject