Question:
What languages would I need to learn to design this kind of webpage?
Sean DEE
2008-05-28 21:09:16 UTC
I want to be constructive with my time this summer and learn how to do something with languages. I was thinking of learning a little bit of C++ or Java, but the idea of web design and designing my own little blog as a summer project are fascinating.

Questions:
-If I was to design a good, interactive blog (people leaving comments and all that), what languages would I have to learn besides basic HTML?
-Someday, I hope to create a database/community. Kind of like the way IMDb.com works (forum, hundreds of thousands of movies, a rating system, movie reviews, etc.,.) what would I have to learn before creating something of that magnitude?
-If I chose to learn Java or C++ this summer, would that help me in web design at all?
-Can someone explain to me what exactly CSS, PHP, MySQL, CMS do? I've tried to look it up, but all I get are all of these really technical terms that are hard for someone like me to understand.

Thanks!
Three answers:
live2code
2008-05-28 22:33:29 UTC
catbertnc's answer was good apart from saying "C++ isn't going to help you create a site."



Although you may not use C/C++ in web development because you don't need to reinvent the wheel; don't think that it does not help you create a site. Most web servers (including Apache) are coded in C++, PHP's interpreter is coded in C, MySQL is written in C/C++, Firefox and Internet Explorer are both written in C/C++ & both have internal HTML parsers written in C++. Without those the browser wouldn't know what to do with the retrieved HTML. Almost all web servers either run Linux or Windows and both operating systems are written in C/C++. C and/or C++ are used almost everywhere. Sorry for the off-topic answer but I guess I'm just a C/C++ fanboy.





EDIT:



Joe, MySQL isn't a database language; rather than define it myself I'll borrow one, "MySQL is a multithreaded, multi-user SQL database management system". SQL is an acronym for Structured Query Language; most databases accept SQL queries to allow the user to manage the database.
Joe
2008-05-28 23:54:49 UTC
1) If you want to design a good interactive blog, learn HTML, CSS, Javascript, PHP, and MySQL. Those will be the building tools you will need to create a good blog. HTML is for your static content, CSS is used to create not only themes, but more elegantly place items on your pages, Javascript is always useful for mouseover, onclick, onhover functions, PHP and MySQL is what you will need to create a forum, guestbook, login, anything of the sort.



2) If you are going to work on a large scale website with large amounts of data and volume, you will need to have a strong background in databases, if not even distributed database systems. Program design and design patterns will also help that way when you write your site you can write it to be scaled easily. Advanced internet programming, understanding how webcrawlers and robots.txt work, and keeping up to date with webmaster guidelines for browsers such as Google are also important.



3) If you have to choose between Java and C++ this summer, I would actually point you to C#. I know, I know, it's a Microsoft product, BUT, the use of ASP.NET applications is very large. C# is your inbetween Java and C++ and web design. Java and C++ code at the nitty gritty is pretty much similar, if you know one, you generally can pick up the other very quickly. C# is OO like Java and will become a nice compliment to PHP. It definitely won't be a walk in the park, most VS.NET languages aren't pretty, ASP.NET and C# defintely aren't close but that's what I would recommend.

Also note, while Java and Javascript have similar names, they are two separate entities. Knowing one helps know the other, BUT, doesn't necessarily mean actual code can carry over.



4) CSS - Cascading Style Sheets. These files link up to your HTML pages and provide definitions to your HTML elements. Instead of using

the

element is given an ID which will relate an item on your CSS page. From the CSS page you would define the width of the

element. Each element though has a wide range of other properties you can manipulate. This keeps the HTML page a little neater, while allowing you to update the whole site by just changing this one file.



PHP - PHP is server side langauge. There are two places action can occur, on your computer, or the server. PHP works off the server. PHP allows for the creation of dynamic content. Dynamic content being customized content for you that responds and change to the way you act. Most websites today are dynamic. You feed it information, email, password, and it kicks back to YOUR page. That's server side code at work.



MySQL - MySQL is a database language. When you create a guestbook, a forum, anything where data is taken, it needs to get stored someplace. MySQL DBs are what hold this information. For website design if you are using PHP, learn the PHP MySQL commands along with the standard MySQL queries. When a page loads up forum topics or guestbook entries, it has to query the DB and then spit out the text on HTML. You would use a combination of PHP, CSS, and HTML to get it to look nice.



CMS - Content Management Systems are made to help simplify the process. They mainly will fall under the WYSIWYG model (What You See Is What You Get). Something as simple as MySpace would fall under this catergory. Moving away from this you have the Control Panel. If you hosted webspace is something you will deal with on a constant basis. Every webhost has a control panel. Some are easier to use than others to upload your site. Some even include kits to upload prefab sites and/or forums.

catbertnc
2008-05-28 21:27:31 UTC
C++ isn't going to help you create a site. Java can be used in a website, but it's more of something you use to enhance a site, rather than create it. You would also have to have web development knowledge to add the Java applets to your site.



As for the other things:



CSS is used to manipulate the look of your website, without changing the actual content. Think about how people change the color scheme of their Myspace pages, without changing the words, images, etc. That's an example of CSS at work.



PHP is a server-side scripting language, as opposed to client-side languages like Javascript. Server-side scripts allow you to offer a more interactive site, one that changes easily, and can allow user input. These languages are also key for interacting with databases.



MySQL is a database (one that works very well with PHP). Databases allow you to easily store, sort, add, remove, and update large quantities of data.



CMS (Content Management System) is a system that allows one to easily set up a site with complex features such as blogs, forums, etc. All of these features are prefabricated, and you just set your options and plug it in.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...