PHP Coders Everywhere, I have a question.

Buzzika

Supreme Member
Joined
Jul 8, 2009
Messages
1,446
Reaction score
1,776
I am about crack open a o'reilly and start learning php.
I have no HTML/CSS experience at all.
The most I have done in html/css is changing some content area div tags and changing background, fonts and stuff.
Mostly modifications, in the rare even that I have to write my own CSS I always have to refer to online guides.

So should I go back to HTML/CSS and then go on to Python? Or is it okay and I can learn along the way if i need to?
 
HTML 5 and CSS then PHP or Python. It just takes 1-2 hours to learn HTML5 and CSS. it's not hard and you will quickly move to python or php once the typical HTML is learned. I don't know why you think python is good choice because I don't see python usable in IM. Ofcourse any project of CMS and the bots can be done in python or ruby but why sweat if PHP is already making things easy. Just my 2 cents on that.
 
It just takes 1-2 hours to learn HTML5 and CSS.

That statement reminded me of The Matrix (just load whatever you need to know), so I fixed it for you:

It just takes 1-2 hours to learn the basics of HTML5 and CSS.

I'd say you can take a few hours learning the foundations, and then spend a couple days practicing as much as you can, to get better acquainted with the whole thing. But yeah, you should always start with the basics and then move upwards from there.
 
If you're looking to code web applications, no matter do you use PHP/Perl/Python, you will also need HTML/CSS knowledge. Without this knowledge, it's going to be pain in the ass.

Someone said you'll learn HTML/CSS in 1-2 hours. If it really would be as easy, none would purchase web site design ...
 
Last edited:
Learn HTML and CSS first. Then move onto PHP while learning Python on the side.
 
It takes a few hours to read the book or tutorials but a lifetime to master :P hehhehehe

Now seriously, HTML 5 and CSS is not very hard however they both have LOTS of tricks and things to learn that you can and won't master with a simple book or in a few hours, same goes for the programming or scripting language you will choose.

So prior to jumping into something big, start trying small things.
 
IF you want complete knowledge to make webpages you should start with html and css. IF you have other goals with your knowledge you can start with the programing directly
 
IF you want complete knowledge to make webpages you should start with html and css. IF you have other goals with your knowledge you can start with the programing directly
Agreed. You will find when working with PHP that when you're ready to output information it'll be necessary to have a basic knowledge of HTML and CSS.

Additionally, looking into to learning a MVC styled approach you could work with CakePHP for example, a Model-View-Controller where you'll code mostly in the Model and the Controller, and HTML/CSS in the view.
 
When I started out with webdevelopment. I came up with small mini projects. Then I did my research and looked up the solutions. I would rather get my hands dirty, than read books about it. I can help you get started, if you are interested, just PM me. I also had a mentor when I started out. So I would like to give that back, to someone else :) :cool:
 
The best thing would be to start with some small coding projects and looking at PHP classes and PHP code examples. Check out http://www.phpclasses.org/ and you might find a sniplet of code that will do something close to what you need that you can edit and implement. That's how I started..
 
If your objective is to build dynamic sites using php there is no way you can do that without properly understanding html and css. You can learn some basics in a couple of hours but it's impossible to master in that time frame. Build a basic website with html and using css for both the layout and styling. Once you've done that learn how to output that site using php. That will keep you busy for more than a few hours and start to open up your eyes to the possibilities.
 
It's probably best to follow the advice already given. Learn HTML/CSS first. As you build sites, you can start inserting some PHP or Python scripts. But if you don't have a decent grasp of HTML, it'll be hard to understand any of your outputs.
 
Firs; html.
If you understand it go to php, and mysql.

I think tizag dot com is a good place to start.
 
You really should learn basic html and css before you learn php I think in most books to learn php from will use html without telling you what it is and it could make it a bit confusing it really dose not take long to learn the html and css basics you can probably get them basics down in a day or 2.
 
Back
Top