Hi
I am new in php. I have downaloded qcodo-0.4.14 and trying to build a sample application.
I create all steps according to documentation and Readme files
my qcodo location is
C:\wamp\www\qcodo\cli
C:\wamp\www\qcodo\includes
C:\wamp\www\qcodo\www
-----------------------------------------------------------
Created configuration files and setting according to this link
http://www.qcodo.com/wiki/guide/getting_started
-----------------------------------------------------------
Configuration file information is
switch (SERVER_INSTANCE) {
case 'dev':
define ('__DOCROOT__', 'C:/wamp/www/qcodo/www');
define ('__VIRTUAL_DIRECTORY__', '');
define ('__SUBDIRECTORY__', '');
define('DB_CONNECTION_1', serialize(array(
'adapter' => 'SqlServer',
'server' => 'localhost',
'port' => null,
'database' => 'global_sample',
'username' => 'sa',
'password' => 'pwd123#',
'profiling' => false)));
break;
--------------------------------------------------------
My SQL Server database contain sample database
http://examples.qcodo.com/examples/view_source.php/0/1/sql_server.sql
---------------------------------------------------------
Ececuted following command
C:\wamp\www\qcodo\cli\qcodo.bat
---------------------------------------------------------
copy all scripts to scripts folder and executed only
qcodo codegen.cli.php
---------------------------------------------------------
after these when I open this http://localhost/qcodo/www/ link I am getting this message
--
Qcodo Development Framework
Start Page
It worked!
If you are seeing this, then it means that the framework has been successfully installed.
Make sure your database connection properties are up to date, and then you can add tables to your database. To codegen, you will want to run the codegen using the qcodo codegen CLI tool from the command-line:
$ C:/wamp/www/qcodo/www/../cli/qcodo codegen --help
After codegenning, you can use either of the following tools to view the “generated” draft pages of your database application:
/drafts - to view the generated Form Drafts of your database
/drafts/dashboard - to view the generated Panel Drafts “dashboard” of your database
For more information, please go to the Qcodo website at: http://www.qcodo.com/
---------------------------------------
How do I generate classes for given database, am I missing any thing?
Thanks in advance
-Mohan