WeBlog / Dynamic Website ?

aristianto :
Let's see, whats the different ?

From Wikipedia, the free encyclopedia

A blog is a website where entries are made in journal style and displayed in a reverse chronological order.

Blogs often provide commentary or news on a particular subject, such as food, politics, or local news; some function as more personal online diaries. A typical blog combines text, images, and links to other blogs, web pages, and other media related to its topic. Most blogs are primarily textual although some focus on photographs (photoblog), videos (vlog), or audio (podcasting), and are part of a wider network of social media.

The term "blog" is a contaction of "Web log". "Blog" can also be used as a verb, meaning to maintain or add content to a blog.

------------------------------------

Dynamic web page

On the classical hypertext, navigation is performed through "static" documents. The web navigation can provide, moreover, an interactive experience, what is termed "dynamic". Content (text, images, form fields, etc.) on a web page can change, reacting for different context condictions. This interactivity can be:

  1. by interface interaction into a specific web page, provided by a client-side script, reacting to mouse or keybord; OR
  2. between the sequence or reload of web pages, that are produced on-the-fly (by server-side programs), reacting to posted form, to parameters in the URL, to browser-type parameters, or to time (database state on server).

Both are Dynamic web pages, and they can use simultaneously the two techniques of interactivity.

Web pages that adhere to the first definition are called Dynamic HTML, or, in a broader sense, rich interfaced pages. Client-side scripting languages like JavaScript or ActionScript are frequently used to produce these types of dynamic web pages. It also allows use of remote scripting, that is a technique where the DHML page request information from (at a hidded frame or web service) a server-side dynamically generated page.

Web pages that adhere to the second definition are often created with the help of server-sidePHP, Perl, ASP/.NET, JSP, and other languages. These server-side languages typically use the Common Gateway Interface (CGI) to produce dynamic web pages. These kinds of pages can use also, on client-side, the first kind (DHTML, etc.). languages such as

Client-Side

Client-side dynamic content is generated on the client's computer. The web server retrieves the page and sends it as is. The web browser then processes the code embedded in the page (normally JavaScript) and displays the page to the user.

The innerHTML property (or write command) can illustrate the "Client-side dynamic page" generation: 2 distinct pages, A and B, can be regenerated (by an "event response dynamic") as document.innerHTML = A and document.innerHTML = B; or "on load dynamic" by document.write(A) and document.write(B).

The problems with client-side dynamic pages are:

  • Some browsers do not support the language or they do not support all aspects (like write command and innerHTML property) and of the language.
  • The information cannot be stored anywhere but the user's computer, so it cannot really be used for statistics gathering.
  • Search engines are not able to run client-side languages and cannot crawl links generated by them.
  • Some users have scripting languages disabled in their browsers due to possible security threats.

Ajax is a newer web development technique for creating client-side dynamic Web pages. Google Maps is an example of a web application that uses Ajax techniques.

Server-Side

Server-side dynamic content is a little bit more complicated.

  1. The browser sends an HTTP request.
  2. The server retrieves the requested script or program.
  3. The server executes the script or program which typically outputs an HTML web page. The program usually obtains input from the query string or standard input which may have been obtained from a submitted web form.
  4. The server sends the HTML output to the client's browser.

Server-side has many possibilities for dynamic content, but the use of it can be a strain on low-end, high-traffic, machines. Some web sites use the Robots Exclusion Standard to keep web crawlers from accessing dynamic pages for this reason. If not properly secured, server-side scripts could be exploited to gain access to a machine.

-----------------------

Kesimpulannya adalah :

Blog is a Dynamic Website, but Dynamic Website is not a Blog.

0 comments: