10/10/2018, 10:07
Java Script và Cơ Sở Dữ Liệu
Hiện nay mình đang làm một site để dạy học .
Trong web của mình, khi user log on-> họ sử dụng tên của họ, họ được cấp một tài khoản. Khi họ làm các bài kiểm tra, site sẽ ghi nhớ lại điểm của họ-> và hiển nhiên các điểm số này sẽ được sử lý cho các công đoạn khác..
Nhưng ! các bạn hiểu cho, mình sử dụng Java Script , nhớ là Script nhé.
Muốn nhúng Cơ Sở Dữ Liệu vào thì làm như thế nào? Nhất là đối với Java Script , ngôn ngữ này có thể có chức năng tương tự PHP là sử dụng chung với một Cơ Sở Dữ Liệu nào đó không ?
Mình đang rất thắc mắc nhưng ..
Trong web của mình, khi user log on-> họ sử dụng tên của họ, họ được cấp một tài khoản. Khi họ làm các bài kiểm tra, site sẽ ghi nhớ lại điểm của họ-> và hiển nhiên các điểm số này sẽ được sử lý cho các công đoạn khác..
Nhưng ! các bạn hiểu cho, mình sử dụng Java Script , nhớ là Script nhé.
Muốn nhúng Cơ Sở Dữ Liệu vào thì làm như thế nào? Nhất là đối với Java Script , ngôn ngữ này có thể có chức năng tương tự PHP là sử dụng chung với một Cơ Sở Dữ Liệu nào đó không ?
Mình đang rất thắc mắc nhưng ..
Bài liên quan
Sau khi có reference rồi thì muốn làm gì chả được
The server-side JavaScript documentation includes the following books:
• The Server-Side JavaScript Guide provides information about the JavaScript
language and its objects. This book contains information for both core and
server-side JavaScript. Some core language features work differently on the
client than on the server; these differences are discussed in this book.
• The Server-Side JavaScript Reference (this book) provides reference material
for the JavaScript language, including both core and server-side JavaScript.
If you are new to JavaScript, start with the Server-Side JavaScript Guide. Once
you have a firm grasp of the fundamentals, you can use the Server-Side
JavaScript Reference to get more details on individual objects and statements.
Use the material in the server-side books to familiarize yourself with core and
server-side JavaScript. Use the Client-Side JavaScript Guide and Client-Side
JavaScript Reference for information on scripting HTML pages.
The Netscape Enterprise Server Programmer’s Bookshelf summarizes the
different programming interfaces available with the 3.x versions of Netscape
web servers. Use this guide as a roadmap or starting point for exploring the
Enterprise Server documentation for developers.
The Netscape web site contains information that can be useful when you’re
working with JavaScript. The following URLs are of particular interest:
• http://home.netscape.com/one_stop/in...pps/index.html
The Netscape AppFoundry Online home page is a source for starter
applications, technical information, tools, and expert forums for quickly
building and dynamically deploying open intranet applications. This site
also includes troubleshooting information in the resources section and extra
help on setting up your JavaScript environment.
• http://help.netscape.com/products/tools/livewire/
Netscape’s technical support page for information on the LiveWire Database
Service contains many useful pointers to information on using LiveWire in
JavaScript applications.
Document Conventions
16 Server-Side JavaScript Reference
• http://developer.netscape.com/tech/javascript/ssjs/
index.html
Netscape’s support page for server-side JavaScript contains news and
resources related to server-side JavaScript. For quick access to this URL,
click the Documentation link on the Netscape Enterprise Server Application
Manager.
• http://developer.netscape.com/viewsource/index.html
View Source Magazine, Netscape’s online technical magazine for
developers, is updated every other week and frequently contains articles of
interest to JavaScript developers.
để xem có connect với database thế nào. Còn về document mà pfiev nói, các bạn có thể download tại đây http://developer.netscape.com/docs/manuals/ssjs.html
thank you, pfiev.
lúc đầu mình cũng tưởng là JS không có CSDL, nhưng khi thấy một cuốn sách ở nhà sách Phan Đình Phùng Q.PN có nói CSDL trong Js làm mình băn khoăn ( tại vì cuốn sách đó cũng mắc tiền lắm )
nhưng thôi ! chắc làm applet cho tiện...
Download sách này ở đâu vậy?