HTML or PHP???

Status
Not open for further replies.

trebor2510

New Member
Messages
1
Reaction score
0
Points
0
Hi folks,

I've just signed up to a new x10 site and was wondering what's the best type of code for delivering my site? I'm looking to set the site up as a blog for myself and the missus, along with family photo pages, plus a forum...

I've experience of coding raw HTML, and have dabbled with XML, but have no knowledge of PHP.

Any recommendations for good free website templates would also be appreciated. :)
 

wiz4r

New Member
Messages
37
Reaction score
0
Points
0
PHP is a good lenguage for scripting, quite simple, a little "ugly" but very very used.
If you want to make your interactive website you must know or learn it.
 

Dannz

New Member
Messages
43
Reaction score
0
Points
0
Python is great, but for the basic sort of stuff you want to do I think there are templates for these things in PHP that you can customise without knowing too much about scripting. If you want to learn a good scripting language, then Python is probably one of the easiest to start with as well as being very powerful.
 

GG-Xtreme

New Member
Messages
430
Reaction score
0
Points
0
If you want your site to do anything, PHP is the easiest way to go.
 

jasgor9

New Member
Messages
40
Reaction score
0
Points
0
Ever since i learned PHP, i think it is the easiest way to create and maintain a website. you should change your PHP configuration in X10hosting.com/account to allow for less restrictions in your PHP code.
 

QuwenQ

Member
Messages
960
Reaction score
0
Points
16
PHP for interactive or coded sites, CSS for designed sites, HTML never.
Simple guide.
 
Last edited:

mattura

Member
Messages
570
Reaction score
2
Points
18
Write your pages in HTML, save them as .php (the html will work)
Then you can learn php and gradually insert capabilities as your expertise improves, without having downtime.

@Quwenq, you need an understanding of html, after all, CSS must be applied to something! Saying "HTML - never" simply doesn't make sense, even if it is generated by php etc.
 

QuwenQ

Member
Messages
960
Reaction score
0
Points
16
@Quwenq, you need an understanding of html, after all, CSS must be applied to something! Saying "HTML - never" simply doesn't make sense, even if it is generated by php etc.

I meant pure HTML.
 

Sanchises

New Member
Messages
17
Reaction score
0
Points
0
hell no! it is not html OR php, you have to do it both or just html, because php just creates html!
Edit:
PHP for interactive or coded sites, CSS for designed sites, HTML never.
Simple guide.
Good thing, better use them altogether..
 
Last edited:

mitamata

New Member
Messages
81
Reaction score
0
Points
0
PHP for interactive or coded sites, CSS for designed sites, HTML never.
Simple guide.

No offense, but that doesn't make sense. lol. PHP generates the HTML, CSS makes the generated HTML pretty. And even if we say "ok, we just meant no pure html", CSS and PHP should go hand in hand for any php site that wants to look presentable ;)

I would recommend learning php. It's awesome stuff. I don't know of any good templates (unless you count smarty. lol), but that does sound like a good place to start. If you want a blog, you will certainly need more than just html. Unless of course you want to edit the code every time you make another post xD

There's plenty of blog engines out there and a free forum template isn't hard to find either (try SMF for example), so I think once you really get into it you should be fine :)
 

adrenlinerush

New Member
Messages
379
Reaction score
1
Points
0
CSS and PHP should go hand in hand for any php site that wants to look presentable ;)

that statement is true of any scripting language ... whether php, perl, ruby, python... and actually it should go with pure html as well... since the scripting just generates the html code and presents it to the browser...
 

Dannz

New Member
Messages
43
Reaction score
0
Points
0
that statement is true of any scripting language ... whether php, perl, ruby, python... and actually it should go with pure html as well... since the scripting just generates the html code and presents it to the browser...

This is a bit generalised... scripting isn't just about generating the html code - a script could be doing a whole bunch of calculations, or outputting to Excel or handling a file upload or download, re-sizing a bitmap, etc. etc. and not even have anything to do with HTML. (In fact I use Flash and Python - often without any HTML at all)

You don't have to learn PHP - you can do just as much in other scripting languages (if not more). Personally I think PHP is a dog of a language, but ok for some things which are ready built. I think Python is a lot more powerful and a lot easier to learn and better for writing good quality concise code.
 

ImperialPhoenix

New Member
Messages
318
Reaction score
0
Points
0
Exactly. If I were you, I'll go with PHP, you could put include(), echo() and print() to good use. From there, learn to use different kinds of functions and make use of variables.
 

mitamata

New Member
Messages
81
Reaction score
0
Points
0
I think for someone just starting out, php will be easier to learn than python. There are more resources with php help and the syntax just makes much more sense. Especially if you're sloppy with your indentations xD

PHP's awesome, there's so much you can do with it, coupled with javascript for example. We're working on a few projects using php at work and it's great. Maybe because I'm not working with php only, we're using smarty to separate the html from the php. Makes things SO much clearer :)
 

adrenlinerush

New Member
Messages
379
Reaction score
1
Points
0
python takes much less code to write anything in than just about any other language... plus there are plugins for just about everything for it... not to mention the ability to work with several other programming languages like java... python has a lot there but for web its not going to be any harder than php to learn...
 

nat1192

New Member
Messages
46
Reaction score
0
Points
0
To do the things you just mentioned you will have to use PHP (and HTML). Or you could use some other server-side scripter.
 

chewett

New Member
Messages
137
Reaction score
0
Points
0
well obveriously use html til you are secure and keep adding little bits to your site

so it will slowly progress instead of you leadrning it all befrore you make the website
 

nahsorhseda

Member
Messages
116
Reaction score
0
Points
16
i suppose u should build pages in xhtml but save them in .php (as mattura said) bcoz after you get a little hang over it then you would probably not panic
 
Status
Not open for further replies.
Top