New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme files #25
Comments
This is what I have so far: Getting started with QCubedReleasesNewest stable release: version 2.1.1, released on Dec 1, 2012. Changelog. Older releases are available from the downloads archive. What is QCubed?QCubed (pronounced 'Q' - cubed) is a PHP5 Model-View-Controller framework. 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. The Code GeneratorThe Code Generator creates PHP classes based on your database schema. It uses the concept of ORM, object-relational mapping, to practically create your whole model layer for you. More info as well as examples are available online at http://examples.qcu.be/ Object-oriented queryingUsing 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 LibraryQCubed uses the concept of a QForm to keep form state between POST transactions. A QForm serves as the controller and can contain QControls which are UI components. All QControls (including QForm itself) can use a template which is the view layer, completing the MVC structure. QControls 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 QControls. Some QControls include:
A full list and examples are available online at http://examples.qcu.be/ PluginsThrough its plugin system, QCubed makes it easy to package and deliver enhancements and additions to the core codebase. The plugin project is located at https://github.com/qcubed/plugins and contains an exhaustive list of contributed plugins. Learn moreInterested? Check out QCubed video screencasts or text-based QCubed tutorials. The github wiki will eventually supersede these. InstallationFile SystemCopy the contents of wwwroot/* to the ROOT level of your web site's DOCROOT At a later point, you may choose to move folders around in your system, But for now, since we're getting started, we'll provide you with the instructions Modify ConfigurationInside of wwwroot/configuration/includes you'll find the configuration.inc.php.sample file. You'll need IMPORTANT NOTE FOR WINDOWS USERS: Also, if you are putting QCubed into a SUBDIRECTORY of DOCROOT, then be sure If you are using QCubed inside of a Virtual Directory (also known as a Directory Next, specify a location to put your "_devtools_cli" directory (this could be either Finally, be sure to update the DB_CONNECTION_1 serialized array constant with the (Information on all these constants are in configuration.inc.php, itself.)
Include prepend.inc.phpCalling require() on prepend.inc.php is necessary to include the framework in your PHP file. Note that by default, this is already setup for you in:
To change this or for any new PHP scripts you want to write, simply make sure any PHP Note that the "includes/configuration/prepend.inc.php" may be different -- it depends on the relative Also note that if you move your .php script to another directory level, you may need to update If you specified the includes/ in your includes_path in your php.ini file (see optional step below), then all you need to do is have File PermissionsBecause the code generator generates files in multiple locations, you want to be sure that the The simplest way to do this is just to allow full access to the docroot for everyone. While this On Unix/Linux, simply run On Windows, you will want to right-click on the docroot folder and select "Properties", If this doesn't work, an additional task would be to use Start - Control Panel - Administrative Tools
(Optional) Set up the include pathThis step is optional! While this adds a very slight benefit from a Starting with Qcodo 0.2.13, you no longer need to update the PHP include_path
Again, NOTE THAT THIS STEP IS OPTIONAL. If you wish to do this, then the preferred way of doing this is simply edit your
Now, depending on your server configuration, ISP, webhost, etc., you may Alternatively, if you like the idea of being able to simply have IMPORTANT NOTE: Because the Code Generator can also generate some of your The line to choose depends on whether you're running the PHP engine as a Plug-In/Module Use this if running PHP as a Apache/IIS/Etc. Plug-in or Module Use this if running PHP as a CGI executable Credits |
I think that is an extremely good start. I vote we roll with this, and if we come up with something better, we can always replace it.... or more likely just constantly keep working on it. |
I'd like to get some proper copyright info in there and trim down the installation a bit, I guess it is safe to modify this in master - but I would rather put it in a branch of it's own just to be proper about it. Also, I would like to make sure everyone has some kind of buy in. |
I found this on our TRAC wiki: Unless otherwise specified, all files in the QCubed Development Framework The QCubed Development Framework is distributed by the QCubed Project Copyright (c) 2001 - 2012, Quasidea Development, LLC, QCubed Project Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR === HTMLPurifier License === HTMLPurifier utilizes the GNU LGPL v2.1 license. You can see the license in: |
I like the goals, but I prefer a somewhat minimalist approach for this file. We should try not to duplicate anything that could be found elsewhere, or we will have to maintain two files. For example, do we really need the license and the changelog in this file, vs. pointers to those files as separate Readmes? Also, I don't think installation instructions should go here, just a pointer to them. The audience for this is someone who is either looking for a new framework to use, and has some experience with other frameworks, or someone who is totally new to the whole framework thing to begin with. They are trying to answer the question whether to spend the time installing QCubed and put a little more time into learning about it. I think give a quick description of QCubed, with some selling points, and don't assume the reader knows what things like CRUD means. The README is really the place to talk about the benefits. For me, the reasons I use QCubed are:
Anyways, I think the Readme should point to most everything else. |
There is a feat-Readme branch now. I removed the .txt version and update the markdown version with what is currently here, this way we should be able to each work on it and come to a consensus about what exactly it should contain and where it should link. If anyone is interested, jump in. We will use this issue to keep track of it and you can fork/pull request if you have an idea on how it should be. |
What do we want to have besides a license and install file? Are those the only 2 external README type files we need? |
@vaibhav-kaushal, The INSTALL.md file needs your attention. Now it is missing a section on the new qcubed installer. |
Okay. I will Correct that and revert back with a pull request. On Tue, Jan 29, 2013 at 10:34 PM, Oleg Abrosimov
Regards |
Where is this file (INSTALL.md) located? On Wed, Jan 30, 2013 at 10:30 PM, Vaibhav Kaushal <
Regards |
The installer has not been brought to the master branch yet? 😕 |
The installer has been merged into the rc-2.2 branch, but yeah do pull requests to the feature branch and when we release, 2.2 will be master. |
@scottux rc-2.2 is broken! the jqcubed has been merged to it. The workable pre-release branch is rc-2.2.0 |
I believe jCubed is not ready for showtime due to the impractical loads. I haven't checked it out recently though. |
jqcubed is a good goal for the 2.3 version. I've already created a milestone for this: https://github.com/qcubed/framework/issues?milestone=4&page=1&state=open |
Why is there a new branch and can we delete the other one then? |
The rc-2.2 branch can be deleted safely, but it can wait till actual release. Remove it if you are confident enough. |
I've created the rc-2.2.0 branch because rc-2.2 is mixed with jqcubed and I've failed to find a way to clean it up. |
I've merged @vaibhav-kaushal's changes to the INSTALL.md file. The new Installer feature now is described here (https://github.com/qcubed/framework/blob/rc-2.2.0/INSTALL.md). I treat this issue complete for the rc-2.2.0 branch. |
I am looking through the readme.md file and I am considering just rewriting the whole thing.
I want to merge what's in the .txt version with what is in the .md version focusing on:
Codegen
OO Querying
UI Library based on jQuery
Plugin system
A quick install guide
Copyright Info and QCodo/jQuery attribution
The most important thing I think is to be direct to the point. This is the framework, this is what it does, get started doing it yourself. The 'voice' of the current version doesn't sound professional or serious. It reads like a flippant email to a doubting ruby developer.
Looking for some thoughts as I dig in.
Also, the changelog shouldn't be in there - it could be kept up-to-date with a script but it is just overhead otherwise, we could link to the latest commits. https://github.com/qcubed/framework/commits/master
The text was updated successfully, but these errors were encountered: