codeigniter
- 网络视频教程
-
You 've completed the foundation of a dynamic Web site using CodeIgniter .
您已经完成了用CodeIgniter开发动态Web站点的基础工作。
-
The application requires that the CodeIgniter framework be at the root of the server .
应用程序要求CodeIgniter框架作为服务器的根。
-
In CodeIgniter terms , these requirements translate into the following
按照CodeIgniter的术语,可将这些需求转换为以下内容
-
When you open the CodeIgniter folder , you 'll notice a folder called system .
打开CodeIgniter文件夹时,您会看到一个名为system的文件夹。
-
In CodeIgniter , the controller is where you organize your project .
在CodeIgniter中,控制器用于组织项目。
-
To install and configure CodeIgniter , perform the following steps
要安装并配置CodeIgniter,请执行以下步骤
-
This article outlines the steps necessary to create the foundation of a dynamic Web site or application using CodeIgniter .
本文概述了使用CodeIgniter创建一个基础动态Web站点或应用程序所需的步骤。
-
Another interesting fact about CodeIgniter is how easy it is to integrate with other code .
另外一个有关CodeIgniter的令人感兴趣的事实是它与其他代码集成的容易程度如何。
-
This code uses the anchor () function shortcut , part of CodeIgniter 's URL Helper file .
此代码使用了anchor()函数shortcut,它也是CodeIgniter的URLHelper文件的一部分。
-
Notice that this function loads the CodeIgniter Form Helper to be used by the student_add.php view .
请注意,此函数加载CodeIgniterFormHelper以供studentadd.php视图所用。
-
Always add a trailing slash , even if you 're setting up your CodeIgniter application in a subdirectory .
务必牢记添加最后的斜杠,即便是在子目录中设置CodeIgniter应用程序时也是如此。
-
This function is part of the CodeIgniter Form Helper and is a quick way to generate the HTML needed for most forms .
该函数是CodeIgniterFormHelper的一部分,也是生成大多数表单所需的HTML的一种十分快捷的方式。
-
The first step in any new CodeIgniter project is to download the latest package ( 1.6.2 as of this writing ; see the Resources section ) .
在构建任何CodeIgniter新项目时,第一步都是下载最新软件包(在本文撰写时,最新软件包是1.6.2,请参见参考资料小节)。
-
You also have folders where you store local extensions to CodeIgniter helpers and libraries , which this article doesn 't discuss .
还有一些文件夹用于存储CodeIgniter帮助程序和库的本地扩展,这些内容不在本文讨论范围之内。
-
To demonstrate the power and simplicity of using jQuery with CodeIgniter , this article guides you through improving the UI of an existing Web application .
为了演示对CodeIgniter使用jQuery的威力和简单性,本文将带领您改善一个现有Web应用程序的UI。
-
And by including the coding shortcuts that CodeIgniter makes available , development time was expedited , and the lines of code required were minimized .
并且通过包括CodeIgniter提供的编码shortcut,开发时间被大大缩短,所需编写的代码行也减少到了最少。
-
For the purpose of this article , I assume that the base URL is http : / / 127.0.0.1 / codeigniter / .
对于本文,我假设这个基础URL是http://127.0.0.1/codeigniter/。
-
Has many powerful frameworks , such as CakePHP and CodeIgniter , to make you as productive as any Rails programmer .
有许多强大的框架(比如CakePHP和CodeIgniter),让您能够像Rails程序员一样高效。
-
This function posts the value in the username field , using Ajax , to the CodeIgniter controller named ajax and its method , username_taken .
此函数使用Ajax将用户名字段中的一个值提交到名为ajax的CodeIgniter控制器及其方法usernametaken中。
-
Unlike other MVC frameworks , there are no strict naming conventions for your models , tables , and controllers in CodeIgniter .
与其他MVC框架不同,在CodeIgniter中,对于您的模型、表和控制器来说没有严格的命名约定。
-
This makes CodeIgniter the perfect choice to refactor a legacy PHP application , in which you may have all kinds of crazy structures that need porting over .
这使CodeIgniter成为重构遗留PHP应用程序的理想选择,在此类遗留应用程序中,可能存在需要移植的所有奇怪的结构。
-
Freedom means that with CodeIgniter , you don 't have to name your database tables a certain way , nor do you have to name your models after your tables .
自由意味着使用CodeIgniter时,您不必以某种方式命名数据库表,也不必根据表命名模型。
-
You can deploy CodeIgniter into the root of an existing domain , into a sub-domain , or to a folder off the root of an existing domain .
您可以将CodeIgniter部署到现有域的根、子域或现有域的根的某个文件夹。
-
Before you make the minimal set of configuration changes you need to get started , this section takes a quick tour of CodeIgniter so you 're familiar with the lay of the land .
在进行一组必需的轻微的配置更改之前,本节将为您简单介绍CodeIgniter,使您熟悉它的基础知识。
-
The Edit option passes the student record ID as the third segment in the URL ( after the http : / / 127.0.0.1 / codeigniter / index . php / ) .
Edit选项将学生记录ID作为URL内的第三个片段(http://127.0.0.1/codeigniter/index.php/之后)传递。
-
This function , which corresponds to the URL http : / / 127.0.0.1 / codeigniter / index . php / student / create , first loads a model called MStudent , which you create in the next step .
此函数对应于URLhttp://127.0.0.1/codeigniter/index.php/student/create,它首先加载一个称为MStudent的模型(此模型在下一个步骤创建)。
-
Note : If you 're having trouble seeing the generic message from CodeIgniter , it might be that you 're having DNS trouble & particularly if this is a new domain or sub-dom a in .
注意:如果您在查看来自CodeIgniter的消息时遇到困难,这可能是因为您遇到了DNS问题&特别是如果这是一个新的域或子域。