Recommend PHP development tool quickly create Web applications

Source: Internet
Author: User

Recently, the US "open source software" Project openbiz a new application development tool called Openbiz Cubi Dev, which claims that developers can create a full-featured enterprise application with configuration and wizards within 3 minutes. Whether this is a groundless or a razor-sharp, let's wait and see.

Hands-on experience: The first contact with Openbiz

After downloading the development installation package, I found that it provides an automated deployment tool that can be run under Windows. Following the official installation of the video tutorial, it is convenient to install in the local. into my local operating environment, is the further Database Configuration Wizard and Initialization System wizard. The first feeling is that the interface style is very fresh completely unlike the previous open source software "unsightly" appearance, it feels more like a mature business software style.

After landing, according to the prompts to see a rich management panel, including users, roles, groups, such as the basis of the system elements, that is, if I based on openbiz cubi development program, then how to do user Rights Division and session management do not need me to reconsider, It is OK to develop the application of my relationship directly on the system architecture, which also provides many advanced features such as caching, automatic backup, security firewall, multilingual translation, and theme switching. There are also recent popular social landing, payment integration, SMS send these modules.

It is worth mentioning that, as openbiz official propaganda, this is mainly in the face of mainland China to do the optimization, we can in the social network list to see Sina Weibo, Tencent, Taobao, Alipay Shadow, and Alipay payment integration, as well as a number of domestic SMS Gateway service providers.

When you make further initialization settings, we can also see that the manufacturer's carefully designed and handy "novice Guide", in addition to making it easy for operators like me to get a sense of the road, and the new application that I developed myself can reuse to provide the user with a starter guide, This will reduce a lot of after-sale service work.

Maybe you think I haven't done anything yet, but it's actually my development work has been completed 30%, yes! Because of user management, role management, these features are already available. By simply setting the default properties, we've set these reusable features to the pattern I need.

Small test: Use it to make a data management system.

Now let's take a look at this development environment real development tool, the legendary sharp weapon debut.

It was not until November that the release of Openbiz Appbuilder 2.0.

Looks cool! It mainly includes the New Application Creation Wizard, the Module Connection wizard and the metadata visualization editor. Let's follow the application Creation Wizard Taker, and first we see the beautiful and interesting welcome interface as shown in the following figure.

Click Next, and then step through the wizard to select the information you want to use, including which database, which table to use, which fields to create, and which advanced features to enable. Here we chose a data table that I had created beforehand, which included all the fields I needed for my data system, such as sex, age, school status, etc. In Appbuilder's new Application wizard, they fill in the description and the information group, respectively.

Then set whether to enable some advanced features for this data. For example, for each piece of data to add attachments, pictures and other features, and for the data enabled classification management, allows for each classification settings different custom extension fields. As shown in the following figure.

Then go on to the next step and finish!

Yes, my program has been developed, not a single line of code, unbelievable way. It seems that all the development work is focused on thinking about the structure of the datasheet and implementing some advanced features other than "adding or deleting", for example, when creating a piece of data to automatically send mail or SMS notification, this time only need to write a few lines of code.

The generated code is different from what we expected, and it's not the source code for PHP. It's more than 90% XML files. These XML files only describe the data mapping relationship and the business logic relationship, but do not contain the implementation code of the business logic at all. This should be the programming idea of the metadata proposed by Openbiz.

The advantage of this is that if we need to maintain or change the program in the future, such as adding some fields, we do not need to modify a large number of program source code as before, but only need to update these simple and understandable XML files.

The code example is shown in the following illustration

Functional testing: This is a time to witness miracles

This newly generated program has a default, seemingly refreshing interface, which can be said to be integrated with the Openbiz Cubi theme style, with all the advanced features of the system, such as data navigation for list pages, automatic suggestions for searching, and dynamic sorting results by column These features are all supported by our new programs. If it weren't for the openbiz, it would have been a fine detail that I spent weeks doing.

Introduced so much, in the end this automatically generated program to use the feeling how, we have done the following test and get satisfactory results:

L Create a data entry

L Edit a data entry and annotate this change

L Delete one and more data entries

L Add a number of related pictures to a data entry

L Add multiple related file attachments to a data entry

L Hide a data entry from someone invisible

L Leave a material item to someone to manage (only he can edit, others can only see)

L Submit a material item to a Department for maintenance (only the person in the department can edit it)

L Set up other information about the related chain for a certain piece of data

Wow, that's what I'm going to do. Data management software! It's unbelievable that so many features are created automatically in a few clicks of the mouse. Finally, change it to belong to "my work", this is also my favorite function. Look at the picture below:

Replace the logo and replace the header to make it look like it was made entirely for the application. This feature is too friendly, do not need to modify the underlying source files, manufacturers directly to make the UI to let you modify.

For the rest, have a cup of coffee and wait to finish the job with the leader. Look at the table, is not really less than 3 minutes of time. Or it would be a lot easier to write this program than to finish this article.

This thing is a big deal.

Openbiz is an open source project launched in 2003, which means that if you feel like it's not good enough, simply modify the source code to improve it without being constrained by the underlying constraints. This is completely different from the sense of using other business frameworks, such as Java and the. Net Framework. And after 9 years of continuous improvement, it is believed that its content is far more than we have seen these show the fur.

Because of its limited space, we can not introduce all the features of openbiz Cubi Dev to the readers who support us, there are more functions and techniques for you to explore.

Article: Phpchina

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.