2. Database
After I made a little thing, I wanted to send it to the Internet. I used dynamic hosts and had no money to rent space. I thought that day, when we had money, we rented 2 Virtual Hosts and dual-Machine backup. You can see that your
This chapter describes how to use backbone to perform crud on webapis. We will operate on a dataset (for example, a message list in the guestbook ). For data sets, backbone has a special type-backbone. collection. For collection management, backbone.
For a long time, I want to write some component applications. During this time, I can finally write something I like.
I hope you can write your own components as you like after learning these tutorials.
Each article may not be associated, but it is
Let's take a look at the application object.
Previously, application objects were often used for the connection string between counters and databases.
Take the counter as an example:
Check the global. Asa file first. This is relatively simple.
How to use attributes
Open VB6 and create an ActiveX dll project. Change project name to fcom and class name to FC2
Choose> Tools> Add process.
Enter myname in the name, type selection attribute, range selection public, and then OK
Operation again:
Array Problems
Arrays are used in many programs and are prone to problems.
Let's take a look at the small example
Open VB6 and create an ActiveX dll project. Change project name to fcom and class name to FC4
Choose> Tools> Add process.
Enter
Let's make a component, a component that can generate a guid
Guid)
A guid can be expressed as a 32-character hexadecimal format. Com provides a system-level function named cocreateguid, which can be used to generate a new guid. This function relies
As a built-in ASP object, we finally learn server objects.
Server objects use HTML encoding, URL encoding, and webpage redirection and transmission.
?
Open VB6 and create an ActiveX dll project. Change project name to fcom and class name to
Start database operations.
Common component Encapsulation
1 .? Encapsulate the database connection information.
1> ???? Directly return the database connection string, for example, in the component
Public? Function? Datasource ()? As?
No matter what method, image, EXE, or RAR ====, you only need to change the suffix to ASP through other methods, but you need to insert a language in ASP:
Save.
Then, the local structure of the submission form, the content of the action points
Learning to use stored procedures is a must for ASP programmers. All large databases support stored procedures, such as Oracle and ms SQL. (However, MS Access is not supported. However, parameterized queries can be used in access ).Stored Procedures
Demo: http://goaler.xicp.net/RssReader.asp
RSS Resource: "onfocus = select ()> & nbsp; double-click the mouse to close the abstract. Only the title is displayed.If (Request ("rssfeed") = "") thenUrl = "/rss2.asp"ElseUrl = request ("rssfeed ")End
If we know the actual path of a static file, for example, success! How can I prevent the downloader from obtaining the actual path when downloading 51windows.pdf on the website! This article describes how to use ASP to hide the actual download path
ASP Web Page Template application: separating programs from interfaces makes ASP scripts clearer and easier to change Interfaces
To avoid maintenance difficulties caused by ASP and HTML code mixed writing, this article introduces a method to use
How to Prevent ASP trojans from webpage hacking
-- By: 927955-- Release Date: 1:05:22-- How to Prevent ASP trojans from webpage hackingPresumably, many VM users have experienced web page tampering and data deletion. In addition to
Client sender/callback decryption
This article is excerpted from the book Ding Jie Niu: vertically cutting ASP. NET 3.5 controls and component development technology
For server control elements, such as ASP. net button standard server controls
Customize your own delegate and event parameter classes
This article is excerpted from the book Ding Jie Niu: vertically cutting ASP. NET 3.5 controls and component development technology
Generally, in actual development, when an event does not
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service