CI framework Source Code Reading Notes 2 all entries index. php, ciindex. php
In the previous section (CI framework Source Code Reading Note 1-Environment preparation, basic terms, and Framework processes), we mentioned the basic process of the CI framework. Here we will paste a flowchart for your reference:
As the entry file of the
This is a creation in
Article, where the information may have evolved or changed.
"Editor's word" Jenkins, as the most popular continuous integration tool, in combination with the use of container technology, kubernetes cluster based on how to play a new capacity, in the application of micro-service based on the provision of better CI way, it is worth each of our developers to continue to explore. This share mainly introduces how we use Jenkins Pipeli
CI framework Source Code Reading Notes 2 all entries index. php. CI framework Source Code Reading Notes 2 all entries index. in the previous section of php (CI framework source code reading Note 1-environment preparation, basic terms, and framework processes, we mentioned the basic stream CI framework of the
Output Class Reference description (Excerpt CI manual):In general, you may not notice the output class at all, because it is completely transparent to you without your intervention. For example, when you use the loader to load a view file, it is automatically passed in to the output class and is automatically called by CodeIgniter at the end of the system execution. Still, you can handle the output manually when you need it.say a few knowledge points
CI is a framework of PHP that uses this framework to make our code more concise and highly maintainable. The CI framework is used based on MVC. MVC is the abbreviation, M refers to the model, which is usually used to process data, dealing with the database. V refers to a view, which is used to define how the data and other content are displayed. C refers to the controller, which is a tool for working with m
Turn from: http://blog.sina.com.cn/s/blog_7b60d05f0101tl9h.html
In the development of the framework is very important, there are many frameworks, WPF, more well-known MVVM, etc., which are used to organize the development of documents, is to write an application separately. The following is a summary of the use of the CI framework.The CI framework is based on MVC, respectively
Models: Model, used to display
When the CI framework was first used, it was intended to write a series of CI-source reading notes, which, unfortunately, had not been acted on. Recently there are few projects, and finally there is some time to write something. Then prepare to record some of the previous notes and experience, on the one hand, the right to make a memo, on the other hand remind yourself: learn from learning and have a way ou
CI framework Source Code Reading Notes 2 all entries index. php, ciindex. php. CI framework Source Code Reading Notes 2 all entries index. php, ciindex. in the previous section of php (CI framework source code reading Note 1-environment preparation, basic terms, and framework process), we mentioned the CI framework sou
This article illustrates the complete implementation of database data for the introduction of CI Framework sample. is for beginners to see, this is the easiest to pass the example. Share to everyone for your reference. The implementation methods are as follows:
1. Download CI framework
2. Configure
database.php configuration:
To set the connection parameter for the database server:
Copy Code code
'', `value` mediumtext NOT NULL, `group` varchar(55) NOT NULL DEFAULT 'site', `autoload` enum('no','yes') NOT NULL DEFAULT 'yes', PRIMARY KEY (`id`,`key`), KEY `name` (`key`), KEY `autoload` (`autoload`)) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
Then, create setting. php In the application/libraries directory. The content is as follows:
* */Public function item ($ key) {if (! $ Key) {return FALSE;} // first check whether the system has automatically loaded if (isset ($ this->
This article mainly introduces the CI framework integration Smarty method, compares and analyzes and improves the existing methods on the Internet, and introduces in detail the specific steps and related skills of CI framework inheriting the Smarty template, for more information about how to integrate Smarty with the CI framework, see the example in this article.
Tags: Travis CI continuous integration GitHub Java
Travis Ci is a continuous integration environment dedicated to open-source projects. If you have an open-source project on GitHub, Travis Ci is a perfect choice for open-source CI. In Travis CI
You can log in directly wi
1.library folder
If you want to extend the function of CI, then put your class library here, note that this folder is composed of class, you can see if loading the library notice!
2.helper folder
If you need to use a few functions to help you do some minor functions, then put it on, it's all procedural code instead of class, and the general Helper is for view,Use the following methods:
Copy Code code as follows:
$this->load->helper
Brief introductionThis year if not a blog is embarrassed to others that you are a programmer, I use XX notes Ah, no? No, this thing can not be shared openly, or publicly share to members, now everywhere is open source, and learned that things can not be shared with people in need of help, it is really sad. So let's talk about it today. When you use Hexo to build a blog, how to automatically update it, we all know that Hexo is required to manually generate HTML static Web pages, although the comm
CI 2.2 + smarty 3.1.18 configuration succeededFirst, prepare the document download (CI framework and Smarty)Second, copy the Libs folder inside the Smarty-3.1.18 source package to the project directory of CI application under the Libraries folder and rename it to SmartyThird, application under the Libraries folder, create the file ci_smarty.phpPHPif(!defined(' Ba
Tags: source code php ci framework When I first started using the CI framework, I was planning to write a CI Source Code Reading Note series. Unfortunately, there was no action. There have been few projects recently, so I finally had some time to write something. So I want to record some of my previous notes and experiences. On the one hand, I have the right to m
I have studied the CI framework instruction documents and plan to use them in the next project. The basic configuration is very simple. It seems that the configuration is no easier than the ci framework ..
I have studied the CI framework instruction documents and plan to use them in the next project. The basic configuration is very simple. It seems that the confi
CI integrates Smarty and cismarty. CI integrates Smarty and cismarty1. download the smarty template to the corresponding site; 2. copy the libs directory in the source code to the libraries Directory of the project and change it to smarty3.03. integrate Smarty and cismarty in the libr CI of the Project directory
1. download the smarty template from the correspon
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.