What is the framework, why is it solved by the framework?

Source: Internet
Author: User
What is the framework and why it should be used. what does the framework solve. I just learned it. & nbsp; put a simple select & nbsp; result on the webpage. just write the php & nbsp; code. what is the framework used. & nbsp; the entire framework has a lot of code and does not understand it. the ghost knows what the framework is and why it is used. what does the framework solve.
I just learned to put a simple select result on the webpage.

Simply write the php code.
What is the use of the Framework? there is a lot of code in the entire framework, and you cannot read it. the ghost knows what happened in it.
It also takes a lot of time to learn about the framework.

I "put a simple select result on the web page", and I feel that the framework is useless.

The internet only says that the framework is convenient for programmers and basic work has been done.
Who can hold an instance? what is the role of the framework.


------ Solution --------------------
The framework is a bit like a class library.

For example, when processing data, use the ORM class to automatically process the URL, dynamically and statically switch the permission system.
If not, you have to do a lot of work.

The queryphp framework is basically a class library.

Http://code.google.com/p/queryphp/downloads/list
------ Solution --------------------
Don't be scared by "Nouns". maybe the same "nouns" will become a "magic weapon" in your hands"

What is "framework" and "template" of the application"
It is like a "eight shares" article. whether it is good or bad, it should be filled in according to the rules

What is "application"? an application is a code stack that completes a specific task.
It can also be said to be a "routine"
After you complete one or two projects, you will not give up the "code set" that carries your painstaking efforts.
You will repeat your ideas and code in the third and fourth projects, including improvement or innovation.
As a result, "framework" appears ......



------ Solution --------------------
Framework simplifies the work of programmers.
Integrate many class libraries.
You can use the framework without understanding how the framework achieves this. How it works. You can ignore this. Of course, it is necessary for you to be a good programmer to understand
------ Solution --------------------
For your current level, the framework is a piece of garbage, or later

Do not believe that you directly output echo 'hello you. '; what is the difference between outputting the character "Hello you" in the framework?

What is the efficiency of loop output for 100,000 times?

You can tell the results for the above two questions and have tested them, I know what the framework is and when it will be used. can it solve the problem.
------ Solution --------------------
Reference:
For your current level, the framework is a piece of garbage, or later

This sentence is awesome...

Only personal feelings.
I use the ci framework.
The difference between post-use and pre-use.
1. I no longer bother with some basic libraries.
2. I know where the configuration is, where the template is, how to write helper and how to hook libraries. if I used to write this information separately, I often find files everywhere due to improper placement.
3. The framework provides a lot of good services.
4. if you think the framework is spam, you should first go beyond the framework's salary. I personally think that the landlord's salary 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

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.