thinkphp custom code generation tools and usage notes (with download address), thinkphp build tool _php Tutorial

Source: Internet
Author: User
Tags php template sqlite database smarty template

thinkphp custom code generation tools and usage notes (with download address), thinkphp build tool


Examples of this article describe the thinkphp custom code generation tool and usage instructions. Share to everyone for your reference, as follows:

I've recently been frustrated that I've been using thinkphp a lot of the time I'm doing repetitive things, like repeating the simplest crud methods, writing forms, writing foreground style sheets, and so on.

Thinkphp's support for background operations has been very strong, and the recent very popular bootstrap framework has made the foreground style easier to follow a standard, so I decided to start writing a code generator that belongs to me.

I want it to be simple enough to let people know that it's good to be able to generate crud code for both MySQL and SQLite databases, and it's even better if you can also generate some view code that conforms to the bootstrap framework.

After about more than 10 hours of struggle, Thinkphphelper was born!

It has only one file, support MySQL and SQLite database, quickly generate front and rear crud code snippets, reduce duplication of labor. And only one file, lightweight and convenient.

You just need to configure the database information and put it in the action directory of your project file, and then call it like this:

Http://[your project address]/index.php/thinkphphelper

I have written all the stylesheets to this file, making it easy for you to copy and paste into any thinkphp project, where the associated files for bootstrap and jquery are read on the network CDN, so use it when it is best to ensure that your network unblocked, if you do not have the network, You can modify the relevant address yourself.

Smart, you must know how it's used, right?

attached: thinkphp code generator click here Download the site .

Directly generate pre-and post-crud code snippets, as well as customize code templates to reduce repetitive labor. Support MySQL and SQLite databases to quickly build project prototypes.

PS: Here are recommended several of the site's formatting/beautification/conversion tools can help you tidy up the messy code, I believe that you can use in future development:

PHP Code online format Beautification tool:
Http://tools.jb51.net/code/phpformat

Online Xml/json Mutual Conversion tool:
Http://tools.jb51.net/code/xmljson

JSON code online formatting/landscaping/compression/editing/conversion tools:
Http://tools.jb51.net/code/jsoncodeformat

SQL code online Format beautification tool:
Http://tools.jb51.net/code/sqlcodeformat

More interested in thinkphp related content readers can view this site topic: "thinkphp Introductory Tutorial", "thinkphp Common Method Summary", "PHP Cookie Usage Summary", "Smarty Template Primer Basic Tutorial" and "PHP template technology Summary."

It is hoped that this article is helpful to the PHP program design based on thinkphp framework.

http://www.bkjia.com/PHPjc/1133061.html www.bkjia.com true http://www.bkjia.com/PHPjc/1133061.html techarticle thinkphp custom code generation tools and usage notes (with download address), thinkphp build Tool This article describes thinkphp custom code generation tools and usage instructions. To share with you ...

  • 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.