how websites are perceived by their visitors and the basic ways in which websites can be constructed.

From Zope2 book:

 

How a user use website:

==

 

In general, many website visitors think about navigation in terms of moving “from page-to-page” within a website. When they click a hyperlink, their browser transports them to a new page. When they hit their browser’s back button, they are returned to the last page they visited, and so on.

 

 

Static contents:

===

Some websites are static. A static website stores its information in files on a web server. Each file then represents a complete page on the website. This may seem like a simple and efficient way of creating a website; however, updating the information within those pages becomes a problem when the site consists of more than a few pages, and the pages, or parts of the pages, need to be updated frequently.

 

The layout of text and images that are displayed in a user’s web browser when the user visits a website are commonly composed in a simple language known as Hyper Text Markup Language (HTML). When a user visits a typical website, a chunk of text that is “marked-up” with formatting in HTML is transferred between the website and the user’s browser. The browser interprets the chunk of text and displays text and images to the user. The chunk of text which is transferred is typically referred to as a page.

 

To achieve this, the static website requires a person with a privileged level of access (sometimes termed the webmaster) to manually create and update the site’s content.

Typically, this is done by editing a set of text-based files on the web server (the machine that runs the website), where each file represents a single page. In some cases, a site-wide change to the “look-and-feel” of a static website requires that the webmaster visit and update each and every file that comprises the website.

 

Somewhere down the line, smart webmasters begin to think to themselves, “Wow, this is a lot of work. It’s tedious and complicated, and I seem to be making a lot of mistakes. Computers are really good at doing tedious and complicated tasks, and they don’t make very many mistakes. I bet my web server computer could automatically do a lot of the work I now do manually.” And he would be right.

 

At this point, the webmaster is ready to be introduced to web applications. It is in this area where Zope’s strength and power becomes clear.

 

 

Dynamic contents managed by web application.

===

In a dynamically-constructed website, the webmaster is not required to visit the site “page-by-page” in order to update its content or style. Instead, he is able to instruct the web server to generate the site’s HTML pages dynamically, where each page is made up of different bits of content. While each bit of content is unique, each can nevertheless appear in several pages if so instructed by the web server. In this way, the webmaster is able to create a common “look and feel” for the set of pages that make up his site. The software on the web server that generates these pages is the web application.

 

A web application is a computer program that users invoke by using a web browser to contact a web server via the Internet. Users and browsers are typically unaware of the difference between a web server that fronts a statically-built website and one that fronts a web application. But unlike a static website, a web application creates its “pages” dynamically, or on-the-fly, upon request. A website that is dynamically- constructed uses an a computer program to provide its content. These kinds of dynamic applications can be written in any number of computer languages.

 

Web application server

==

A framework that allows people to construct a web application is often called a web application server, or sometimes just an application server. Zope is a web application server, as are competing products like WebSphere, JBoss, and (to some extent) SAP NetWeaver.

 

Zope is a web application server, which is not a web application in itself; rather it is framework that allows people to construct web applications

Benefits of using a WAS:

==

Many application servers allow you to perform some of the following tasks:

 

Present Dynamic Content – You may tailor your web site’s presentation to its users and provide users with search features. Application servers allow you to serve dynamic content and typically come with facilities for personalization, database integration, content indexing, and searching.

 

Manage Your Web Site – A small web site is easy to manage, but a web site that serves thousands of documents, images, and files requires heavy-duty management tools. It is useful to be able to manage your site’s data, business logic, and presentation from a single place. An application server can typically help manage your content and presentation in this way.

 

Build a Content Management System – A content management system allows non-technical editors to create and manage content for your website. Application servers provide the tools with which you can build a content management system.

 

Build an E-Commerce Application – Application servers provide a framework in which sophisticated e-commerce applications can be created.

 

Securely Manage Contributor Responsibility – When you deal with more than a handful of web users, security becomes very important. You must be able to safely delegate tasks to different classes of system users. For example, folks in your engineering department may need to be able to manage their web pages and business logic, designers may need to update site templates, and database administrators need to manage database queries. Application servers typically provide a mechanism for access control and delegation.

 

Provide Network Services – You may want to produce or consume network services. A network service-enabled web site must to be able to accept requests from other computer programs. For example, if you’re building a news site, you may wish to share your news stories with another site; you can do this by making the news feed a network service. Or perhaps you want to make products for sale on your site automatically searchable from a product comparison site. Application servers offer methods for enabling these kinds of network services.

 

Integrate Diverse Systems – Your existing content may be contained in many places: relational databases, files, separate web sites, and so on. Application servers typically allow you to present a unified view of your existing data by integrating diverse, third-party systems.

 

Provide Scalability – Application servers allow your web applications to scale across as many systems as necessary to handle the load demands of your sites.

 

++++

The Zope application server allows you to perform all of these tasks

1. present dynamic contents: acquisition mechinemic and content/present/logic objects

2. management website: ZMI

3. build a CMS -> page template, ZPT. TTW,

4. a Ecommerce application?

5. Securely Manage Contributor Responsibility: roles and security.

6. network service: A network service-enabled web site must to be able to accept requests from other computer programs. ZVH, others services

6. Integration: RDB adapter,

7, Provide scalability: ZEO

Recently, the renowned actor Zhang Songwen has sparked a fascinating phenomenon known as "two-way rejection", which has captured the attention of many and inspired the masses. The roots of this phenomenon are complex, with one of the fundamental causes being the fear of failure that plagues most of us. Rejection can instill a sense of inadequacy and a fear of being perceived as a failure, which can be challenging to overcome. However, the concept of "two-way rejection" teaches us that rejection is a natural part of life, and it's acceptable to reject and be rejected in return. This empowers us to recognize that life is not just about failures, but also about perseverance, and striving to achieve our aspirations, which may include fame and fortune. Despite the distractions we may encounter, the concept of "two-way rejection" reminds us to turn away from erroneous opportunities and remain steadfast in our principles and moral compass. While there are both advantages and drawbacks to this approach, "two-way rejection" ultimately inspires us to embrace rejection, learn from it, and emerge stronger and more self-assured. However, it is essential to distinguish between a sound and an unsound opportunity to avoid blindly rejecting the right ones. In conclusion, the concept of "two-way rejection" should be approached with discretion, but it can prove to be a valuable tool in enabling us to adhere to our goals and persevere through rejection. It teaches us to embrace rejection, learn from it, and move forward with confidence, ultimately empowering us to achieve our dreams and aspirations.结合双向拒绝进行内容补充
05-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值