Thursday, December 24, 2009

I don't know much about computer programming but i want to learn php and mysql to start making website!?

Do i have to know any other program language before i start learning php and mysql?Maybe html?I don't know much about computer programming but i want to learn php and mysql to start making website!?
Maybe computer programming first? Learning a language without first learning programming is a really bad idea. (Once you know programming, php syntax is kind of trivial - you should be able to start using it 5 minutes after you install it.) If you just learn a language, you have a language to do it in, but you don't know what ';it'; is. (I know English, but that doesn't make me Shakespeare.) Knowing programming means that learning a new language is little more than learning the syntax of that language. If you don't know programming, you can't sere the commonalities, so learning a new language is a whole new learning experience.





To learn programming, I recommend http://www.amazon.com/gp/offer-listing/0鈥?/a> I think it's the best book ever written for the purpose (no, I'm not the author) and you can buy it for less than it'll cost to ship it. I've never taught a programming course without requiring that every student own a copy - and read it. (Once you understand most of it, you'll know more about programming than most people earning their living by programming do.) Then play with php. (Install a web server on your computer - XAMPP is free and it's the same software the commercial sites use - Apache, MySQL and PHP.)





Once you're comfortable with php (the help file has many good examples, the php web site has a lot of information, and there are many tutorial sites for php), you can start learning SQL. (I use adodb5 for database connections, but php's mysql or mysqli routines work also.) The ';Learn ... in 21 days'; books are good, but you can get pretty much the same information on the web. (You can get good tutorials on anything on the web - programming, horse care, bomb building, stargazing - name it and someone has probably put up a tutorial on it.)





BTW, php runs on the server (so does the SQL you use to access the database). For code that runs on the browser you'll need Javascript (and you need code running on both). There are tutorials for that all over the place too. (And don't be proud. If you see code that's something like what you want, copy it and modify it to do what you want. You learn by seeing how others do it. Just give credit (a little notice in a tiny font at the bottom of the page) for code you use and, if you're going to lift a piece of code whole, ask for permission first. Most of it's so generic that the webmaster won't mind - he pieced it together from other sites too.)I don't know much about computer programming but i want to learn php and mysql to start making website!?
If you are going to use PHP to create a website then you will also need to know HTML since PHP will be used to generate HTML pages. If you are going to be using mysql then you will also need to know SQL which is the language used to query databases. Finally you may want to learn some Javascript to be able to do things on the client side in your page.
Yes, it is a good advice to know HTML before starting to study/learn PHP and MySQL. But I would recommend you to study XHTML 1.0 instead of HTML 4.0. Or if you want to be with the latest standards and technology, learn XHTML 2.0 and HTML 5.0. Once you master these technologies, you will feel more confident when studying PHP, and after that MySQL. I also strongly recommend you to use CSS (Cascading Style Sheets). JavaScript could help you a lot too when designing web sites, and if you learn XML, wow you would know really a great set of web technologies. So there is no time to lose, start studying now!





Jaime Montoya


webmaster@jaimemontoya.com


www.jaimemontoya.com
Html and BB might help if you plan on making banners and other things for your site. BB code is good for posting/making images if you wanted it to be like a forum. If you wanted you could try to java script a short game, or a clip for a banner. You could probably Google ways to make a site. Like a walk through but nothing would be custom to your liking. My recommendations would be php, html, bb, and a bit of java. A little bit can go along way ;).








Hope this helps,


Blue Blue

No comments:

Post a Comment