SRL Archive - Web Development

Advanced website coding help


reorxsknight

2012-02-28 21:41:27

I can code alot in HTML, but i realize that HTML cant do alot… does anyone have a good grasp of PHP, CSS, or anything else… just thought i'd advance my ability to make a better website :P

Vinyl Scratch

2012-02-28 22:28:30

Good thread, I would help if I could, but don't know much about HMTL coding, or PHP coding.. I plan on learning, though.

weequ

2012-02-28 22:31:35

:google: ?

I mean why don't you google for some nice tutorials?

Kyle Undefined is good with that stuff (I think)

[XoL]

2012-02-28 22:46:05

I know my way around css, it isn't too complicated that you can't just google a guide though. PHP I know very little of (My web dev. partner normally does the PHP side of what ever we work on)

Kyle Undefined

2012-02-28 23:40:29

What do you need help with?

reorxsknight

2012-02-29 07:24:05

it was just a thought realy…. i just wanted to learn a little bit of everything, your probably right that it would be better to just google a tut :P i just figured HTML can't realy do much and if i wanted to make a good website i'd probably need to know PHP or CSS….. and if i do need help on something i'll PM you kyle, if thats okay

Kyle Undefined

2012-02-29 08:48:39

You don't need to know PHP or any web language really, the advancement of HTML5, CSS3, and jQuery (Or other javascript libraries) have come very far.

If I were you, start with HTML5, then CSS(2 and 3) and then javascript (I suggest using a library, since it helps a lot and keeps your code length down).

That's fine, I may not be able to respond right away but I'll eventually get to it :)

masterBB

2012-02-29 08:51:55

I personally prefer PHP above all that "javascript shit". But I really hate CSS, it never turns out what you expect and every browser interpret it different. Web development is pure hell, you will soon discover.

Kyle Undefined

2012-02-29 09:01:48

Lol, what do you mean? PHP is a server language, and javascript is MUCH faster if done right.

Also, without CSS, every site would be bland and boring. When you first start out in web dev, it can be a pain. However, once you start learning better techniques, playing with everything, it becomes quite easy. Making sites cross browser and turn out how you want is easy :D

masterBB

2012-02-29 09:14:30

From: Kyle Undefined
Lol, what do you mean? PHP is a server language, and javascript is MUCH faster if done right.

Also, without CSS, every site would be bland and boring. When you first start out in web dev, it can be a pain. However, once you start learning better techniques, playing with everything, it becomes quite easy. Making sites cross browser and turn out how you want is easy :D


I am aware that PHP is serverside. But for all the database queries I suggest php above javascript. Also the html files should only contain content and a bit of mark up. A lot of people throw their javascript in the HTML files making it a mess. I hate all the web languages except for php, they are not intuitive.

CSS is a pain in the ass. Just think about, the degree of control you have when you create a programs UI and when you want to create a website. If you want to do it the correct way, the website code will be ugly and not as easy to read. You also got less control, can only set one background image for each div, you are limited to three coloms a div etc etc… It's the only way :(

Kyle Undefined

2012-02-29 09:30:41

From: masterBB
I am aware that PHP is serverside. But for all the database queries I suggest php above javascript. Also the html files should only contain content and a bit of mark up. A lot of people throw their javascript in the HTML files making it a mess. I hate all the web languages except for php, they are not intuitive.

CSS is a pain in the ass. Just think about, the degree of control you have when you create a programs UI and when you want to create a website. If you want to do it the correct way, the website code will be ugly and not as easy to read. You also got less control, can only set one background image for each div, you are limited to three coloms a div etc etc… It's the only way :(


Well yeah, I do too, but it all depends on the effect you want too. jQuery with AJAX and PHP is sexy and very fast. With any kind of database talk, I'd always suggest PHP, since you need a server side language to actually talk.

I figured that he needs to learn the basics before advancing to PHP, even though it's not hard :p

When I start on a new project, I put all the CSS and javascript code right there on the page, makes it easier to change and update without having to switch tabs to edit something. Before I release it, I always go back and strip all of the non needed elements out and break it into different files/folders. I agree, but I also can't stand PHP. My favorite web language is the .Net library, C#/VB. Yes, I know, it's Microsoft, but I love having complete control over everything and in a much granular matter than any other web language provides. ColdFusion is the absolute worst.

CSS is not hard once you grasp it, it just takes practice and learning exactly how CSS works. Creating a good looking UI for a program is more pain in the ass than CSS to be honest. All of my code is clean, organised, and easy to read and done correctly, it all depends on your knowledge and experience. CSS gives you more than enough control, so I'm a little confused :p

As for the one background per div, that's where you're mislead ;) CSS3 can do multiple backgrounds, gradients, animation, in anything you want with no JS or anything. Same goes with the three columns thing, CSS has made a great advancement in the last few years.

Like I said, it really boils down to experience really, anything can be done if you just know how :)

superuser

2012-02-29 13:10:27

From: Kyle Undefined
Well yeah, I do too, but it all depends on the effect you want too. jQuery with AJAX and PHP is sexy and very fast. With any kind of database talk, I'd always suggest PHP, since you need a server side language to actually talk.

I figured that he needs to learn the basics before advancing to PHP, even though it's not hard :p

When I start on a new project, I put all the CSS and javascript code right there on the page, makes it easier to change and update without having to switch tabs to edit something. Before I release it, I always go back and strip all of the non needed elements out and break it into different files/folders. I agree, but I also can't stand PHP. My favorite web language is the .Net library, C#/VB. Yes, I know, it's Microsoft, but I love having complete control over everything and in a much granular matter than any other web language provides. ColdFusion is the absolute worst.

CSS is not hard once you grasp it, it just takes practice and learning exactly how CSS works. Creating a good looking UI for a program is more pain in the ass than CSS to be honest. All of my code is clean, organised, and easy to read and done correctly, it all depends on your knowledge and experience. CSS gives you more than enough control, so I'm a little confused :p

As for the one background per div, that's where you're mislead ;) CSS3 can do multiple backgrounds, gradients, animation, in anything you want with no JS or anything. Same goes with the three columns thing, CSS has made a great advancement in the last few years.

Like I said, it really boils down to experience really, anything can be done if you just know how :)


Javascript is more efficient handling database connections, read node.js.

xtrapsp

2012-02-29 13:45:35

CSS isn't all over the place, You can place certain elements of coding for different browsers. CSS is fundamental to creating a website! Be it PHP or Html.

My advice:

Use wordpress or another form of CMS/Blogging software and look in the coding. click appearance, mess about. Thats how I learnt and now I own an SEO company which handles web design separately.

Seriously just experiment and READ the code.

Kyle Undefined

2012-02-29 13:59:41

From: superuser
Javascript is more efficient handling database connections, read node.js.


I would never use javascript for handling database connections, unless node.js allows a way to degrade nicely and work when js is disabled.

[XoL]

2012-02-29 18:18:14

Oh forgot to mention <3 Jquery, if you ever get the chance. USE IT!
You won't regret it.

Bebe

2012-02-29 18:21:55

From: reorxsknight
I can code alot in HTML…..
:confused:

reorxsknight

2012-03-01 08:38:57

From: Bebe
:confused:

Like, basic HTML….. its not that hard because it cant really do much… i know most of the tags and attributes

Dgby714

2012-03-01 08:47:30

HTML5, CSS3, JS, Python

>..> PHP sucks

masterBB

2012-03-01 09:00:33

From: Kyle Undefined

When I start on a new project, I put all the CSS and javascript code right there on the page, makes it easier to change and update without having to switch tabs to edit something. Before I release it, I always go back and strip all of the non needed elements out and break it into different files/folders. I agree, but I also can't stand PHP. My favorite web language is the .Net library, C#/VB. Yes, I know, it's Microsoft, but I love having complete control over everything and in a much granular matter than any other web language provides. ColdFusion is the absolute worst.

CSS is not hard once you grasp it, it just takes practice and learning exactly how CSS works. Creating a good looking UI for a program is more pain in the ass than CSS to be honest. All of my code is clean, organised, and easy to read and done correctly, it all depends on your knowledge and experience. CSS gives you more than enough control, so I'm a little confused :p

Like I said, it really boils down to experience really, anything can be done if you just know how :)


I completely understand why C# and VB are better at creating a GUI than the other web languages. The reason is that C# and such are logical and inituive and most web languages are complete trash, though I'm sure if you spend enough time on them they will do the job.

From: reorxsknight
Like, basic HTML….. its not that hard because it cant really do much… i know most of the tags and attributes


I think the reason for the :confused:, was that you don't really "code" in html. It's a very simple markup language, you probably already use inline css without knowing it.

From: Dgby714
HTML5, CSS3, JS, Python

>..> PHP sucks


We are opposites on this one :P, I personally believe html 5 got way to many features not related to it's goal to be a mark up language non-computer users can understand. Never used python though.

edit:
Wow, this was mine 1024s post. On to the next goal! 2048 posts, here I come.

Dgby714

2012-03-01 09:07:10

From: masterBB
I completely understand why C# and VB are better at creating a GUI than the other web languages. The reason is that C# and such are logical and inituive and most web languages are complete trash, though I'm sure if you spend enough time on them they will do the job.



I think the reason for the :confused:, was that you don't really "code" in html. It's a very simple markup language, you probably already use inline css without knowing it.



We are opposites on this one :P, I personally believe html 5 got way to many features not related to it's goal to be a mark up language non-computer users can understand. Never used python though.

edit:
Wow, this was mine 1024s post. On to the next goal! 2048 posts, here I come.


Proper HTML5 seems a lot easier to read than it's HTML4? counterpart. Tho yes some of the "advanced" features are more "complicated".

<!doctype html>
<p>This is my proper HTML5...</p>

LordJashin

2012-03-01 20:25:27

I would start with XHTML and CSS basic stuff. PHP, Javascript, XML sort of, etc. those are real solid languages. HTML, CSS, these are just made for easy web design, they are barebone. Everything with CSS, and html is just a "tag" or "declaration", or "attribute". There is no if i>5 then Cssexplosion(); Now since everyone has to obey browser restrictions that makes stuff harder. Even if you could change HTML/CSS in browser coding, it wouldn't matter because of that, unless you could inject it from loading a webpage in the browser itself, but that would be a security risk. Anyway… I had webdesign classes, while I was bored in one I made a list of most of the tags/attributes for XHTML 1.0.

Learn XHTML, CSS 1-2 first these are barebone. Not all Browsers have come up to meet HTML5, CSS3 ( or whatever ) . You need to learn some backward compatibility things anyway, supporting old browsers eventually, start like with here. Then google tutorials on cross browser compatibility.

Why start there? Because HTML4 stuff, a lot of it is "deprecated" like the <center> tag. They've removed loads of things that should be done in CSS. At first HTML had style in it. My history is bad. It all started back with netscape. Netscape, and internet explorer. They kept adding things, that did style stuff, then kept taking it away once CSS came to be. Also the "Align" tag. By the time XHTML rolled around at version 1.0 Most of the structure and styles have been separated. XHTML is the structure, CSS the style. XHTML is XML with HTML. yadadadada,
</rant>

Yes HTML has styles in it that isn't coded, but CSS does most of the main stuff, and can make the default HTML looks look prettier :P. When I started learning all this crap in the class, it was with a book all the way back from 2000ish. :yawn:

i3egoHan

2012-03-04 17:08:25

If you need any help, im around.

Ive developed web applications in PHP/MySQL for quite sometime, Also used jQuery alot for fancy JS stuff.

I have a few books that i could recommend you for CSS, i read one last year, and its a really good read.