Download the PHP package qcubed-4/application without Composer

On this page you can find all versions of the php package qcubed-4/application. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package application

Application Framework

This is the application part of the QCubed-4 framework, and includes forms, controls, actions, events and code to tie them all together.

What is QCubed-4?

QCubed (pronounced 'Q' - cubed) is a PHP Model-View-Controller Rapid Application Development framework with support for PHP7 and above. The goal of the framework is to save development time around mundane, repetitive tasks - allowing you to concentrate on things that are useful AND fun. QCubed excels in situations where you have a large database structure that you quickly want to make available to users.

Stateful architecture

With QCubed-4, you don't have to deal with POSTs and GETs coming from the browser. QCubed automatically handles that for you and packages the information into object oriented forms and controls. Programming with QCubed feels very much like programming a desktop application. If you are familiar with ASP, it is similar.

The Code Generator

The Code Generator automatically creates object classes with matching forms and controls based on your database schema. It uses the concept of ORM, object-relational mapping, to practically create your whole model layer for you.

Codegen can take advantage of foreign key relationships and field constraints to generate ready-to-use data models complete with validation routines and powerful CRUD methods, allowing you to manipulate objects instead of constantly issuing SQL queries.

More info as well as examples are available online at https://qcubed.eu/

Object-oriented querying

Using QQueries allows for simple yet powerful loading of models, all generated ORM classes have Query methods and QQNodes. By using these methods, getting a complex subset of data is pretty straightforward - and can be used on almost any relational database.

User Interface Library

QCubed-4 uses the concept of a Qform to keep form state between POST transactions. A QForm serves as the controller and can contain Controls which are UI components.

All Controls (including Qform itself) can use a template which is the view layer, completing the MVC structure.

Controls can take advantage of the Qform's FormState to update themselves through Ajax callbacks as easily as synchronous server POSTs. All jQuery UI core widgets are available as Controls.

Some Controls include:

The easiest way to learn QCubed-4 is to see the examples tutorial at https://qcubed.eu/

Plugins

Through its plugin system, QCubed-4 makes it easy to package and deliver enhancements and additions to the core codebase. Some plugins are created by other users, try creating them according to these examples.

System Requirements

Installation

The installation procedure is described in detail here: Installation instructions.

Upgrade Notes

This version now uses namespacing. See the tools directory for tools to help you convert your current code base to the new names. Specifically, run the following command line script on your codebase, and it will convert about 99% of your code:

The application framework moving forward will focus on supporting html5 tags in its control library only. There may be some other items in there to provide a way to support common data relationships (like radio and checkbox lists), but for the most part, we would like anything that isn't directly drawing a tag to be in a separate library.

As such, the following files are no longer supported in the core, and are currently dead code. You will find them in the "dead" directory. However, if these old files are important to you, feel free to resurrect them as a plugin. Much of the code is no longer applicable, as better ways to solve the problems have been developed either built-in to PHP or in libraries available in github.

Also, the JQuery UI framework has been put in its own directory to prepare for moving it to a separate library in a later version.

Credits

QCubed was branched out of QCodo, a project by Michael Ho. QCubed-4v was branched out of QCubed project, which @spekary (Shannon Pekary) has been instrumental in redesigning.


All versions of application with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
qcubed-4/cache Version dev-master
qcubed-4/i18n Version dev-master
qcubed-4/orm Version dev-master
qcubed-4/common Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package qcubed-4/application contains the following files

Loading the files please wait ....