QCubed - A PHP5 rapid development MVC framework.
Home  |  Updates

features

suggested config_checker.php improvements

I have a simple suggestion for Config_checker.php

After I installed framework, and after fixing some path problems, I was shown start_page.php as expected.

When I clicked on "Code Generator" (codegen.php), I received a
"404 -not found" error. The problem was that I used the
suggested __VIRTUAL_DIRECTORY__ to fix it and the suggestion was wrong.

The url (link) for "Code Generator" (codegen.php), came up as
"http://www.domainname.com/cgi-bin/qcubed_2_1_0/assets/_core/php/_devtools/cgi-bin/qcubed_2_1_0/assets/_core/php/_devtools/codegen.php"

SUGGESTION for IMPROVEMENT: In Config_checker.php, add code to make sure that all the files (urls) on "start_page.php" actually exists. Something along the idea of:

  //if (not fileexists(
  //  "<?php _p(__VIRTUAL_DIRECTORY__ . __DEVTOOLS__) ?>/codegen.php")
  //  then find file: "codegen.php" using php glob() function to find path and make suggestions on how to fix. 

Should also verify that fileExists("qcubed.inc.php")

my QCubed Settings:

__SUBDIRECTORY__ =
"/cgi-bin/qcubed_2_1_0"

__VIRTUAL_DIRECTORY__ =
"/cgi-bin/qcubed_2_1_0/assets/_core/php/_devtools"

__INCLUDES__ =
"//NAWINFS04/home/users/web/b2816/rh.jgleneck/cgi-bin/qcubed_2_1_0/includes"

__QCUBED_CORE__ =
"//NAWINFS04/home/users/web/b2816/rh.jgleneck/cgi-
bin/qcubed_2_1_0/includes/qcubed/_core"

ERROR_PAGE_PATH =
"/cgi-bin/qcubed_2_1_0/assets/_core/php/error_page.php"

PHP Include Path =
".;c:\php\5\pear"

QApplication::$DocumentRoot =
"//NAWINFS04/home/users/web/b2816/rh.jgleneck"

QApplication::$PathInfo =
""

QApplication::$QueryString =
""

QApplication::$RequestUri =
"/cgi-bin/qcubed_2_1_0/assets/_core/php/_devtools/start_page.php"

QApplication::$ScriptFilename =
"\\NAWINFS04\home\users\web\b2816\rh.jgleneck\cgi-bin\qcubed_2_1_0\assets\_core\php\_devtools\start_page.php"

QApplication::$ScriptName =
"/cgi-bin/qcubed_2_1_0/assets/_core/php/_devtools/start_page.php"

QCUBED Versus CAKE!!! Please Help!

HEEEEEEEEEEEEEEELP!

My boss is about to phase out development with Qcube in favour of CakePHP. He just feels it time to stop Qcoding and start Baking...lol

I, on the other hand feels like I need to continue with Qcodo. He won't switch if I can convince him. Now that's where you people come in. I have little experience and most of you here have years upon years of experience. Please, can you give me a NON-BIASED comparism of both frameworks so I can speak well on the D-Day (Decision Day) and its gonna be anytime soon. Please. Thanks People, I love you all! :)