Click here to Skip to main content
15,885,792 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
First apologies for the newbie nature of this question.

I'm a C++ software engineer and am moving into web development. The advice I've received so far is a decent solution to build a website (like The Code Project, for example) would be to use PHP with HTML 5.0.

A decent framework seemed to be CodeIgnitor so I ran through the tutorials and it seems pretty straightforward. The problem I'm having is organising stylesheets and page layouts.

All the tutorials seem to just describe how to get a button or a text edit control onto a page. They don't seem to talk about how to skin those or structure a page with layouts so the first question is:

1) Is there a decent tutorial / source code for this so I can learn all about it myself?

My background is C++ so I've always used a form editor (i.e. using Qt or MFC form layouts in Qt Creator or Visual Studio). The good point with those is it's straightforward to build pages. With Qt, for example, you can set a form's layout to horizontal and add widgets etc.

Also, with the CodeIgnitor tutorials they have html templates for the header and footer. My understanding is that you can have controls / widgets in both html and php code so...

2) What would be the benefits of both approaches? What is ideal?

Finally, given a page like The Code Project with the menu above and ability to post questions etc...

3) Would that primarily be built with PHP or HTML or something else?

Thanks, any advice is greatly appreciated and apologies for the vague-ness!
Posted
Comments
JonnyJP 8-Jul-12 11:34am    
Since posting I've found some really useful resources:

html and php tutorials:

http://www.youtube.com/watch?feature=fvwrel&NR=1&v=_XzjP9s0bCU[^]

Stylsheet generator:

http://www.colorzilla.com/gradient-editor/[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900