Frame is what, why use the frame. What the framework solves

Source: Internet
Author: User
Tags codeigniter
What the framework is and why it should be framed. What the framework solves.
I just learned it. Put a simple select result on the Web page.

Just write the PHP code directly.
What to do with the frame. Whole frame A lot of code, read also do not understand. The ghost knows what's going on inside.
And it takes a lot of time to learn the framework.

I "Put a simple select result on the page" This thing, I feel the frame fart is not used.

The web only says that the framework is convenient for programmers and does the basic work. It's all a bit of crap.
Who can hold an example of what the framework actually does.


------Solution--------------------
The frame is a bit like a class library

such as processing data using ORM class to automatically handle URL dynamic static switch permission system
If you didn't, you'd have to do a lot of work.

Queryphp Framework is basically a class library

Http://code.google.com/p/queryphp/downloads/list
------Solution--------------------
Don't be intimidated by "nouns", perhaps the same "noun" will become the "magic weapon" in your hands.

What is a "frame", the framework is the application "template"
Like "stereotyped" article, whether good or bad, according to the rules to fill in is

What is an "application", an application is a code stack that accomplishes a particular task
It can also be said to be "routine."
When you're done with the one or two project, you're not going to give up the "code set" that carries a lot of your effort.
You will be in the third, fourth ... Projects to repeat your ideas, code, and of course, improvements or innovations
So, the "frame" appeared ...



------Solution--------------------
Framework, just simplifies the work of programmers.
Many of the class libraries are integrated together.
You can use the framework, and you don't need to understand how the framework does it. How it's done. You can ignore these. Of course you want to be a good programmer to understand is necessary
------Solution--------------------
To your present level, the frame is a garbage, or later also

Do not believe you directly output echo ' Hello you. '; And in the frame output character Hello You see what's the difference?

And then cycle through the 100,000 outputs to see that efficiency?

For the above two questions you can tell the result and test it, you know what the framework is and when it's used, can it really solve the problem?
------Solution--------------------
Reference:
to your current level, the frame is a garbage, or later also

This bull ...

Only personal feelings.
I am using the CI framework.
The difference between use and pre-use.
1 I no longer bother with some base class libraries.
2 I know where the configuration is, where the template, how to write how the helper to libraries how to hook, if it is previously, I write these alone, often because of improper placement of files everywhere.
The 3 framework provides a lot of good service.
4 If you think the framework of rubbish, please first in the wages of people beyond the framework. Personally think, landlord this mentality, wages will not exceed 5000.

* User Guide Home
* Table of Contents Page

Basic Info

* Server Requirements
* License Agreement
* Change Log
* Credits

Installation

* Downloading CodeIgniter
* Installation Instructions
* Upgrading from a Previous Version
* Troubleshooting

Introduction

* Getting Started
* CodeIgniter at a Glance
* CodeIgniter Cheatsheets
* Supported Features
* Application Flow Chart
* Model-view-controller
* Architectural Goals


General Topics

* CodeIgniter URLs
* Controllers
* Reserved Names
* views
* Models
* Helpers
* Plugins
* Using CodeIgniter Libraries
* Creating Your Own Libraries
* Creating Core Classes
* Hooks-extending the Core
* Auto-loading Resources
* Common Functions
* Scaffolding
  • Related Article

    Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.