Javascript bible_ Chapter 36

Tham khảo sách 'javascript bible_ chapter 36', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Server-side JavaScript Most of this book is devoted to client-side JavaScript the scripts that execute when their documents are loaded in a browser. But the JavaScript language originally came into existence under its old name LiveScript as a server-side scripting language. Both client-side and serverside JavaScript share a common core language encompassing such items as how to use variables control structures data types and the rest. Where the two scripting environments diverge is in their object models. Client-side JavaScript is concerned with objects that appear in documents serverside JavaScript is concerned with objects that govern the two-way connection between the user and server applications. The subject of server-side JavaScript is large enough to fill an entire book. My goal in this chapter is to introduce the concepts and objects of server-side JavaScript to those who are familiar with the client side of things. If you move on to create server-side applications with JavaScript this chapter should help you reorient yourself to the server way of thinking about applications. The flavor of server-side JavaScript covered in this chapter is that found in Netscape s SuiteSpot 3 server family. In particular the Enterprise Server 3 component is where most of the server-side JavaScript action occurs. This is where you can write scripts that act as go-betweens for the user and large server databases. Adding Server Processing to Documents A standard HTML page contains tags that instruct the browser about how to render the content of the page. As a page loads the browser interprets the tags and lays out the words form elements and images from the top of the document to the bottom. If the page contains a form you may want to capture the information entered or selected by the user. In This Chapter Where server-side JavaScript scripts go in documents The server-side object model Accessing databases through server-side JavaScript 738 Part III JavaScript Object and .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
8    62    2    18-05-2024
46    116    4    18-05-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.