PHP Learning Notes (1), PHP Learning notes
1. There are two ways to refer to a file: Require and include
The use of require is as follows require("MyRequireFile.php"); . This function is usually placed at the front of the PHP program, and before the PHP program executes, it is read into the file specified by require to make it a part of the PHP program's Web page. Commonly used functions, you can also use
Learn Typecho Theme Development Notes 01,typecho Theme Note 01
Blog was accelerated Lok hang out, so there is the idea of learning Typecho theme development, thank you for this opportunity!The first is to see the theme folder under the ' index.php ', a blog article page generally includes the following basic elements
Author
Publication time
Article categories1
Php2 /**3 * This is a set of default skins for the Typecho 0.9 system4 * 5 * @packa
Ecshop Two development notes (i), ecshop two-time development essays
\includes\lib_commom.php = Public Function library
\includes\lib_main.php = Front Public Function library
\includes\lib_init.php + = initialized for/index.php invocation
\includes\lib_insert.php = dynamic content function Library template {Insert name= ' ads ' id= $ads _id num= $ads _num} functions called function insert_ads
\includes\cls_template.php = contains the Format function
Es6 notes 4 ^_^ function, es6 notes 4 functionI. Default function parameters
Now you can specify the default value of a parameter when defining a function, instead of using logic or operators as before.Es5
Function sayHello (name) {// The traditional way to specify the default parameter let name1 = name | 'hubwiz'; return 'hello' + name1 ;}
Use the default ES6 Parameters
Function sayHello2 (name = 'hubwiz')
Sharp jquery-Reading Notes (1), jquery-Reading Notes
I recently transferred to the frontend and learned jquery for two months. I read the book "sharp jquery, I made a special blog to take notes on some of the knowledge I saw during my learning process.
Chapter 1:
I. jQuery objects and DOM objects
1. convert a jQuery object to a DOM object
This is not the case yet
Web Learning notes () and learning notes-> Dao layer considerations: use the "light" query whenever possible to meet the requirements, and use as little time memory and other resources as possible-> The entity class does not contain any business logic. It is pure POJO.-> The equals and hashCode of the object class only depend on the business key and do not depend on the id in the database.-> RESTful provide
[Study Notes] [C Language] arithmetic operations, learning notes arithmetic operations
There are 34 operators in C language, including common addition, subtraction, multiplication, division, and so on.1. addition operation +
In addition to addition, the addition operation can also represent the positive signs: + 5, + 902. subtraction-
The subtraction operation can also represent symbols-10 and-29.3. Multipl
PL/SQL personal learning notes (2) and plsql personal learning notes
IF condition
DeclareCursor s is
Select version from city_server t;
S _ city_server.version % type;
Begin
Open s;
Fetch s into s _;
If s _> 2
Then
DBMS_OUTPUT.put_line (s _);
End if;
Close s;
End;
LOOP
Declare
Cursor s is
Select version from city_server t;
S _ city_server.version % type;
Begin
Open s;
Loop
Fetch s into s _;
Exit wh
Linux Study Notes-Linux Private food based on laruence, learning notes private foodLinux Study Notes-Introduction to ARM and embedded Linux based on laruence's linux private dish ***** (1) Learn Basic bare metal programming: ARM7 or ARM9, understand the hardware architecture and control principles (this step is an absolute Foundation) (2) use the Linux system for
[Web Development Study Notes] Structs2 Result Study Notes (1) Brief IntroductionStructs2 Result Study Notes (1) Brief Introduction Question 1
Dispatcher-forward uses the server to jump to the server and display the action
Redirect-redirect to jsp
Chain server jumpRedirectAction
Question 2 chain jump-> jump from an action to another action in the package:
The ex
Sqlite study notes 7: Open the database using sqlite in C language, sqlite Study Notes
The basic content of the database has been mentioned earlier. Next, let's take a look at how to use sqlite in the C language.
Interface 1
sqlite3_open(const char *filename, sqlite3 **ppDb)
Open the database. If the database does not exist, create a new database and open
sqlite3_close(sqlite3*)
Shut down the database.
Iptables firewall usage notes and iptables firewall notes
I. background
When a WEB project goes online, you always need to install the environment. You can configure a firewall to allow Internet access. In the past, I used to search for a tutorial on the Internet. I don't need to worry about opening the port 80 command after I click it. In the spirit of learning, I plan to study the iptables configuration a
Vim editor learning notes and vim learning notes
There are many text editors that can run in Linux. Different Linux distributions will certainly have built-in Vi editors, and other editors may not have built-in ones. You need to install them on your own. Therefore, you must learn how to use Vi in a new Linux environment. The Vim editor is an upgraded version of the Vi editor. It is more powerful than Vi and
Python coding knowledge learning notes, python learning notes
Python coding knowledge learning notes
>>> A = 'medium' ===> a is an encoded binary. It adopts the default encoding method of the operating system, similar to byte.
>>> S = U' '===> s is a unicode type, 32-bit integer, and the variable content is a unicode code word (codepoint)
>>>
'\ Xd6 \ xd0' =
SQL Database Study Notes and SQL Database Study Notes
Although learning is slow, you need to learn it step by step.
Study Notes:
1. SQL statements are case insensitive
2. MySQL requires a semicolon;
3. Used commands:
Show databases; // display the number of databases that exist. create database first_lesson; // create a database use first_lesson; // use this dat
Swift 2.0 Study Notes (Day 9) -- leave the expression and try again !, Swift Study Notes
Swift 2.0 Study Notes (Day 9) -- leave the expression and try again!
For Original Articles, please reprint them. Reprinted Please note: Guan Dongsheng's blog
Expressions are very important.
In Swift, there are three forms of expressions.
L data type not specified
Var
Git learning Summary (notes), git learning summary notes
Note: This article is based on Liao Xuefeng's Git tutorial. I am very grateful to Liao for his selfless dedication. This article serves only as my learning notes. If you need to complete git learning, please stamp the previous link ^_^1. What is git?1. What is git?"Git is the world's most advanced distribut
Android learning notes-use of remote services and android learning notes --1. AIDL and Binder
The Activity, Content Provider, Broadcast, and Service components of the Android system can transmit data across processes.
Activity can call the activities of other processes implicitly; Content Provier can access data in other applications across processes; Broadcast communicates with other applications through B
Node. js notes (5) Talk about routing and node. js notes about Routing
The routing usage problem is also mentioned in previous notes, but there is always a "passive" feeling that you must enter an address in the browser to access the corresponding url. We hope to click a button or link to go to another page. We finally finished this yesterday.
There are three ma
MySQL learning notes-data definition table constraints, paging method summary, mysql learning notes
This article describes the data definition table constraints and paging methods of MySQL learning notes. We will share this with you for your reference. The details are as follows:
1. primary key
Feature: a primary key is a constraint used to uniquely identify a re
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.