Bigtop
view release on metacpan or search on metacpan
set on it in tentmaker, everything is done to make the Gantry
easy date scheme work.
- Gantry stub controllers finally inherit from their gen modules. This
allows overriding gen methods without hastle and easier use of plugins
provided by the framework (which are themselves mixins).
- Killing the tentmaker now prompts to ask if you want to save changes.
- Corrected long standing (but unnoticed) bug which would build in
the wrong directory when base_dir is used without app_dir.
- Added controller level config block support to deparser so they
can pass undisturbed (save whitespace normalization) through tentmaker.
- Simplified the abstract syntax tree and standardized the naming of
various elements in it.
0.14 Wed Aug 16 16:20 CDT 2006
Highlights:
1. Quicker app generation in two ways.
Way 1 (if you have sqlite installed):
bigtop --new App table1 table2
cd App
# create database
# populate database from docs/schema.yourdb
./app.server
Way 2:
tentmaker
on app body tab create table1 and table2
save as file.bigtop
bigtop --create file.bigtop
cd Sample
sqlite app.db < docs/schema.sqlite
./app.server
2. DBIx::Class support
3. All around better defaults
- Changed the full use default, moving it from true for Gantry controllers
to being true for Gantry HttpdConf.
- Converted to DBIx::Class (was Class::DBI::Sweet) for tentmaker default.
- Corrected error that left Gantry AutoCRUD forms for DBIx::Class
failing to pass the schema object to get_form_selections.
- Added instance keyword to HttpdConf Gantry backend, which works
like the same keyword in the CGI Gantry backend. Both of them allow
you to get the proper GantryConfInstance definition for use with
Gantry::Conf.
- Added conffile keyword to HttpdConf Gantry and CGI Gantry backends.
Use it with instance to specify a replacement for /etc/gantry.conf.
- Continued deprecation of methods called _form by adding a warning
when you use that name for a CRUD or AutoCRUD form in your bigtop file.
- Added gen_root keyword for CGI Gantry, HttpdConf Gantry, and
Conf General backends to take advantage of Gantry's new Init module,
which keeps track of root paths for us. Only the app root path is
needed adding gen_root inserts one with relative path html.
- SiteLook GantryDefault now has a default gantry_wrapper formed
from Gantry::Init::base_root . '/sample_wrapper.tt'
- Fixed bug in mysql and sqlite backends. They no longer generate
create sequence statements.
- Added optional tables to bigtop --new. If you supply them you get
a running app immediately after generation (but remember to make
the database before trying to run it).
- Silenced warnings from MySQL and SQLite SQL backends when the input
has sequence blocks, which they ignore.
- Started using the getpwuid approach of h2xs when no author info is
available.
- Base modules now have do_mains showing links to all the pages which
have page_link_labels. All controllers generated by bigtop --new
have those labels, so out of the box apps have good do_mains.
- Greatly improved defaults in tentmaker, among the changes:
author is omitted so it can be generated in the manner of h2xs
SiteLook GantryDefault backend no longer has a gantry_wrapper path
making a table now automatically makes a corresponding controller
auto-made controllers have:
statements: controls_table, rel_location, text_description,
page_link_label
methods: do_main, form
making a sequence now automatically makes a table and a controller
auto-made tables have sequence statements
All this means that by starting tentmaker and creating only a table
on the app_body tab, you can save and get a running app in 3 steps.
- Removed Class::DBI specific generated code from Control Gantry backend
(it was a set of skeletons to use with Gantry::Plugins::CRUD).
Now you get comments telling you what to do, you do it for your ORM.
- Added site_links methods to base modules.
- Corrected TentMaker module to be less unix specific.
- Dropped blib/lib from use lib statements in app.server.
- Removed CDBI specific code from crud methods, now you just get comments
suggesting what you need to do.
- Added advice message to bigtop when you create a default app.
It tells you how to start the app.
0.13 Fri Jun 9 08:08:16 CDT 2006
- Made it possible for compatible backends of the same type to all
generate. For instance, this allows you to generate all types of SQL
schema at once. Note that most backends still can't work together
since they want to write the same file (like models and controllers).
- Converted authors app level keyword to allow name => user@example.com.
- Since the above change left the app level keyword email unused,
I changed it to contact_us which now makes a CONTACT US POD section
in the base module with whatever you want to appear there.
- Added docs to Bigtop::Keywords explaining how to add your own keywords.
- Tried to hide the AST package statements from the PAUSE indexer
without hiding them during vim folding.
- Added pair_required to Bigtop::Keywords keys so we can support things
like Gantry main listing header_options.
- Added config level model_base_class keyword to each Model backend.
This allows you to control it once for all tables, but still lets
individual tables override it with their own table level model_base_class.
- Corrected the javascript error that was preventing screen updates for
App Body block deletions. There is a remaining problem: the visible
whitespace gap sometimes grows with each deletion (this affects only
the on screen appearance, so it is completely consmetic).
- Added POD to generated model modules. It should be enough to silence
POD tests.
0.12 Tue May 23 10:58:22 CDT 2006
- Added create_makefile_pl => 'passthrough', to Build.PL so users relying
on make (aka CPAN shell users) can install without so much hastle.
- Corrected images links in the tentmaker tutorial (thanks Krassi).
- Added support for DBIx::Class.
- Updated MANIFEST and made it agree with what is checked into svn.
0.11 Wed May 17 12:48:11 CDT 2006
- Added skips so gantry controller tests won't fail when
( run in 2.913 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )