Permalink
Switch branches/tags
Nothing to show
Commits on Jun 4, 2012
  1. Lets try that again.

    nickl- committed Jun 4, 2012
    bin configuration dictates the bin scripts hopefully this will symlink the config file
Commits on Jun 2, 2012
  1. that didn't wark, try again

    nickl- committed Jun 2, 2012
  2. that didn't wark, try again

    nickl- committed Jun 2, 2012
  3. move config etc

    nickl- committed Jun 2, 2012
Commits on May 26, 2012
  1. Added ropository

    nickl- committed May 26, 2012
  2. More magic with JSON

    nickl- committed May 26, 2012
  3. Quick fix: allow runtime dbname change.

    nickl- committed May 26, 2012
    In order to cater for test database to be changed at runtime.
  4. More syntax changes

    nickl- committed May 26, 2012
  5. O conventions conventions let me be thine bitch.

    nickl- committed May 26, 2012
    When DumbledORM went back home after an exciting year at Hogwarts no one recognized him because he now also has the magic of _autoload().
    
    Major refactor of which the details are unfortunately completely obscured in this commit, due to the simple fact that nothing remains to compare against.
    
    To aid with analyzing the patch herewith a list of the changes that were necessary to get DumbledORM to work as a Composer library:
    
     * added namespace DumbledORM
     * split classes into separate files following the conventional Classname.php pattern to comply with __autoload() expectations http://www.php.net/manual/en/function.autoload.php
     * moved classes to the src/__NAMESPACE__ folder as per convention
     * fixed reference faults which resulted from the namespace addition by utilizing the "use" operator instead of explicit references which aids readability IMO
     * an additional benefit to the previously mentioned strategy, it now also exposes the missing test cases not yet implemented because test.php is not "using" all the classes being provided.
     * i.o.w test.php is in the default namespace still to simulate and test usage outside of a namespace.
     * all the model entities are also still being generated under project_dir/model where they used to go and these POPOs, if you will excuse me for lack of a better acronym, can be referenced  through \User for example.
     * only change made to the code being generated was the addition of  ```use DumbledORM\BaseTable;``` required by base.php
     * autoload magic with compliments of Composer you now only have to add DumbledORM as a dependency to your own project or simply include one line: (see INSTALL)
    
    ```php
    
    <?php
    require_once [PATH to DumbledORM].'/vendor/autoload.php';
    
    ```
  6. Prevent test bootstrap.php and bin/generate from failing before insta…

    nickl- committed May 26, 2012
    …llation but instead supply installation instructions
  7. Add installation instructions.

    nickl- committed May 26, 2012
  8. Don't track model.

    nickl- committed May 26, 2012
  9. Stop tracking composer.lock. Even though this is suggested we would h…

    nickl- committed May 26, 2012
    …ave to get ta a released version first.
Commits on May 25, 2012
  1. ran composer install to generate the composer.lock and the obfuscated…

    nickl- committed May 25, 2012
    … vender folder with the autoloader
  2. Clean whitespace only.

    nickl- committed May 25, 2012
Commits on May 15, 2012
  1. Rewording a bit of the README.

    jasonmoo committed May 15, 2012
  2. Merge pull request #3 from nickl-/document_update

    jasonmoo committed May 15, 2012
    Documentation update
Commits on May 12, 2012
  1. Update to documentation to include information and instruction about …

    nickl- committed May 12, 2012
    …the CLI script. Also added information about config.php and a note on how to overcome PDOException No such file or directory. Nothing was removed the old instructions for the model generation has moved in under the builder heading
Commits on May 11, 2012
  1. Merge pull request #2 from nickl-/master

    jasonmoo committed May 11, 2012
    "in any case": Effortless contributions
  2. Added a PHP-CLI script to generate the models via the command line. Run

    nico committed May 11, 2012
    Generate DumbledORM models.
    
      Usage:
      ./generate.php <option>
    
      <option>
          -h, -?, --help, -help            Print this help message
          -p, --prefix <prefix>            Prefix generated classes
          -d, --dir <directory>            Output directory for the model instead of the default ./model  to see usage instructions.
  3. Enabled mysql server port congiguration as per jasonmoo/DumbledORM#1

    nico committed May 11, 2012
    …requested by jiminoc
Commits on Dec 31, 2010
  1. Fixing formatting.

    jasonmoo committed Dec 31, 2010
  2. Fixing formatting.

    jasonmoo committed Dec 31, 2010