Saturday, March 22, 2008

Technology choices

The technologies which will be involved in my project : XHTML, CSS, PHP, MySQL, maybe Javascript, Actionscript, and Photoshop, Dreamweavor. I collect some information about them and put in the former posts, also some comparison.

about MySQL

MySQL is a multithreaded, multi-user SQL database management system (DBMS). The basic program runs as a server providing multi-user access to a number of databases.

History
MySQL was first released internally on 23 May 1995
Windows version released on January 8, 1998 for Windows 95 and NT
Version 3.23: beta from June 2000, production release January 2001
Version 4.0: beta from August 2002, production release March 2003 (unions)
Version 4.1: beta from June 2004, production release October 2004 (R-trees and B-trees, subqueries, prepared statements)
Version 5.0: beta from March 2005, production release October 2005 (cursors, stored procedures, triggers, views, XA transactions)
Version 5.1: currently pre-production (since November 2005) (event scheduler, partitioning, plugin API, row-based replication, server log tables)
Sun Microsystems acquires MySQL AB on 26 February 2008
http://en.wikipedia.org/wiki/MySQL

Tutorial for MySQL http://edu.itbulo.com/db/mysql/
MySQL powers more online applications than any other database in the world including such high profile web sites as: Yahoo!, Google, Flickr, YouTube, Wikipedia and thousands of corporate online applications.Why? Because MySQL is easy, safe, reliable, cost-effective, and very fast! With MySQL Enterprise you can:
* Deliver your online application in a matters of hours, not days or weeks * Implement a modern infrastructure leveraging the popular open source LAMP stack (Linux, Apache, MySQL, PHP/Perl/Python) * Scale your applications without limit * Significantly reduce your TCO by minimizing your initial investment and keeping costs low over time * Reduce administrative overhead with an easy to use database that just works! * Get fast answers and assistance when you need it

Wednesday, March 19, 2008

PHP & others

What is PHP?
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
http://www.php.net/
http://au2.php.net/manual/zh/language.basic-syntax.php for basic syntax,
http://au2.php.net/manual/zh/index.php for PHP manual
I read the introductory tutorial. http://au2.php.net/tut.php
I'm interested in comparing PHP with ASP, because I used a little ASP before, but later I found a lot of developers use PHP.
1. Open Source. User have to pay for upload, send Email, etc. in ASP, but it's free in PHP.
2. PHP is faster,
3. support from ISAPI,

Perl、PHP、ASP、JSP
1. Perl(Practical Extraction and Report Language)- An old language, flexible, very easy to write obfuscated and confusing Perl.
2.PHP (Hypertext Preprocessor)- uses a blend of interpretation and compilation in order to provide the best mix of performance and flexibility to programmers.
3. ASP (Active Server Pages)- it is proprietary, single platform (Windows), and slow.
Can I say the dollar-sign in PHP is cool, and I like it.
4. Cold Fusion -The biggest advantage to ColdFusion is its IDE and the language it uses, "CFML" (ColdFusion Markup Language), The main drawback is user-friendliness, stock ColdFusion has just one way to solve a problem, and this greatly reduces your control over the solution you make.
5. JSP(JavaServer Pages)- "dark horse" in web scripting, a popular choice when existing back-end business logic is written in Java.
PHP Equivalents for ASP Objects http://phplens.com/phpeverywhere/node/view/32
Looks like I found some answers to some simple questions but came with more complicated questions.

Research Ideas

After a few weeks study, I know more than before. And I think the following technologies will be involved in my project and I will do some research about them, Xhtml, CSS, PHP, MySQL. Maybe more later...

Friday, March 14, 2008

Quirks mode

"Quirks mode refers to a technique used by some web browsers for the sake of maintaining backwards compatibility with web pages designed for older browsers, instead of strictly complying with W3C and IETF standards in standards mode."

Comparison of document types: http://en.wikipedia.org/wiki/Quirks_mode

Thursday, March 13, 2008

about Div

This tag is useful in web designing, I collect some information about it.
Definition and Usage
This tag defines a division/section in a document.
Differences Between HTML and XHTML
The "align" attribute of the div element was deprecated in HTML 4.01.
The "align" attribute of the div element is not supported in XHTML 1.0 Strict DTD.

Tips and Notes
Note: Browsers usually place a line break before and after the div element.
Tip: Use this(div) tag to group block-elements to format them with styles.

Optional Attributes
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
at http://www.w3schools.com/tags/tag_div.asp



Some perceptions

DOCTYPE(document type), it's quite simply an element used to declare what language (and its level) a document uses,
1.Transitional: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
2.Strict: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3.Frameset: DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> 
The relationship between them like modle and clothes. Modle is datas, clothes is form. They are separated, then you can change the clothes for your modle as you wish. However, in the html4(transitional), they are mixed together. It gets more difficult to change your model's clothes.

Wednesday, March 12, 2008

"next generation" protocol

What is IPv6?
IPv6 is short for "Internet Protocol Version 6". IPv6 is the "next generation" protocol designed by the IETF to replace the current version Internet Protocol, IP Version 4 ("IPv4").
Most of today's internet uses IPv4, which is now nearly twenty years old. IPv4 has been remarkably resilient in spite of its age, but it is beginning to have problems. Most importantly, there is a growing shortage of IPv4 addresses, which are needed by all new machines added to the Internet.
IPv6 fixes a number of problems in IPv4, such as the limited number of available IPv4 addresses. It also adds many improvements to IPv4 in areas such as routing and network autoconfiguration. IPv6 is expected to gradually replace IPv4, with the two coexisting for a number of years during a transition period.
http://www.ipv6.org/

Monday, March 10, 2008

Thursday, March 6, 2008

Week 2. Reflection

I found it's a good way to understand how internet stuff get to work by watching a 3D Animation. The film explains the difficult things in a easy way. I like it.
Now, I know more about networks and some commands. I think it will be useful in further study to get a perception about the whole system at first place.
The task is writing the study proposal in a html format. I got a rough idea what to do, about a website, I will develop it with more details later.

Monday, March 3, 2008

Hi~

Hi,
I start my new blog today.
I guess I will put down my study notes here in the following posts.
That's all for today...