So if I wanted to learn code...

GerardWon

Quickly
Dec 6, 2008
2,015
30
0
earth
If I wanted to learn code what would you suggest? php, HTML...?

I got my first pc in 1987 ( omg I'm fuckin' old as dirt! ) ... I understand dos quite a bit -- but I had other priorities -- and I only like computers, I don't love them.

Oh yeah -- my first attempts at creating my own webpages were friggin' painful and really time consuming.

I'd like to create some landing pages and maybe a few mini-sites, and know how to link them to youtube vids, etc.

Thanks in advance for your response.
 


I'm partial to the PHP & HTML route.

Although PHP is often used from within a website, it can also be used via command line, just like DOS utilities. You may want to do a few simple PHP tutorials (convert Fahrenheit to Celsius, other basic tasks) to get the syntax down. Maybe try to emulate the 'copy' command?

Similarly, you can do some tutorials to learn basic HTML to get page layout down with bold/color/spacing.

When you have both of those skills down, you can change your PHP code so that it outputs HTML instead of spitting out plain text.

IMO, you'll also need to learn some CSS to make visually pleasing HTML pages. CSS is like advanced HTML that lets you fine-tune apperance stuff.

Feel free to PM me if you need any pointers.

Vadim
 
In all fairness, you're probably not really looking to learn to code. More likely, you're look to learn to hack code. The distinction is about several thousand hours+ of learning and experience.

The trick is to get all the free stuff you can, put it together, and start hacking around to get it to do the stuff you want. So for starters you will need to hack some html, css, php, and javascript, as already noted. What works best for me is to find something I want to change, figure out where I need to what it (e.g. what php file), learn how to make it do what I want from the multitude of websites that offer lessons in web programming, and experiment until I get it right. You'll learn probably most efficiently this way.

But unless you're doing something pretty original and bold, you probably won't have to code a whole lot. There's just tons of free stuff out there already.
 
Learn basic HTML, basic CSS, how to install PHP scripts, and how to use other people's JavaScript. Then you can go back and start learning it all more thoroughly. The O'Reilly books tend to be pretty good
 
Again thanks to all who reponded... u guys confirmed what I sorta had in mind.

If I had wanted to learn coding I guess I 'd have done it by now; and everyone everywhere says wordpress is very good.


So Thanks again to all.
 
In all fairness, you're probably not really looking to learn to code. More likely, you're look to learn to hack code. The distinction is about several thousand hours+ of learning and experience
you make coding sound hard.. if you are logical and know basic algebra then you can learn decent HTML in a day, CSS in a day, and PHP in a week
 
Let's be clear. HTML and CSS are not code. They are used to describe layouts in a web browser. PHP/ASP/ASP.NET are code. This is an important distinction because you learn code (PHP) to generate HTML for you. There is no sense in learning anything about PHP if you don't know what you want first in HTML.

What usually happens is people start laying out pages, etc. with CSS and HTML. Then you want a lot of it and it takes too long. You then learn PHP/Mysql and have it write your HTML for you. That is all Wordpress/Joomla/etc is.
 
Let us then also be clear that PHP/ASP/ASP.net are only scripting languages.

::emp::
 
you make coding sound hard.. if you are logical and know basic algebra then you can learn decent HTML in a day, CSS in a day, and PHP in a week

Fair enough. I guess I was thinking more in terms of zero to SICP kind of code learning gradient.
 
Wow-- and the hits just keep on coming...

... If I copied and edited these posts could sell it on DP or the 'other' WF as an ebook 'Everything you ever wanted to know about coding but were afraid to ask' -- or maybe 'Insider secrets of Cashing In with YOUR Own Website... '

hmmm...
 
Pro Tip: learning how to code doesn't make you money -- marketing does.

Not shitting on coders out there, some beginners make the mistake of spending a ton of time learning HTML/excel/photoshop when they should really be setting up landing page and driving traffic.
 
@vadim

thank you for that valuable posting. quite helpful for people who are confused about php and html.