Main > Free Download Search >

Free bigtop software for linux

bigtop

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 13
Bigtop 0.26

Bigtop 0.26


Bigtop is a web application data language processor. more>>
Bigtop is a web application data language processor.

SYNOPSIS

See Bigtop::Docs::TentTut or Bigtop::Docs::Tutorial for how to create a Bigtop file. Bigtop::Docs::TOC is a guide to all of the documentation modules.
The real synopsis:

vi your_app.bigtop (or use tentmaker see Bigtop::Docs::TentTut)
bigtop --create your_app.bigtop all

Modify your bigtop file and try again:

bigtop docs/your_app.bigtop all

Bigtop is a language for describing the data of a web application. Usually this data will be stored in a relational database. Once you have a description of your data, you can generate a web application from it. This includes all the pieces you need like: the sql statements ready for feeding to your database command line tool, the httpd.conf you need to Include in the httpd.conf on your system, the modules that will handle the web requests, the models that make the database tables look like classes, etc.

If you need to alter the data model in the future, you can change your original description to match the new reality, then regenerate the application without fear of losing hand written code (though you may have to modify some of it to reflect the new reality).

FUNCTIONS

This module is really a place holder, but it does provide some developer routines (which are not exported):

write_file
use Bigtop;
Bigtop::write_file( $file_name, $file_content, $no_overwrite )

This attempts to write $file_content to $file_name and dies on failures of open or close. Further, if you pass a true no_overwrite flag, it will check to see if the file exists and refuse to overwrite it. In that case, the user gets a warning that the file has been skipped because it already exists. If you dont want the user to see the warning, turn off the Bigtop warning. To avoid fatal errors on write failures, wrap in an eval. Putting these together, we come to my typcial usage:

eval {
no warnings qw( Bigtop );
Bigtop::write_file( $some_output_file, $content, no_overwrite );
}
warn $@ if $@;
make_module_path

(Note that make_module_path uses File::Spec, so even though Unix directory syntax is shown below, the function should work in other places.)

use Bigtop;
Bigtop::make_module_path( $build_dir, $module_name );

This attempts to make all the directories from $build_dir to the home of the module. It assumes that lib comes immediately after $build_dir.

For example, a call like:

Bigtop::make_module_path(
/home/username/App-Name, App::Name::Subname
);
Attempts to make these directories:
/home/username/App-Name/lib
/home/username/App-Name/lib/App
/home/username/App-Name/lib/App/Name
/home/username/App-Name/lib/App/Name/Subname

It doesnt report failures. Making directories can fail because the directories already exist (in which case you probably dont care) or because they could not be written (in which case youll notice soon enough, when you try to write to them).

<<less
Download (1.0MB)
Added: 2007-05-09 License: Perl Artistic License Price:
898 downloads
Bigtop::Parser 0.16

Bigtop::Parser 0.16


Bigtop::Parser is the Parse::RecDescent grammar driven parser for bigtop files. more>>
Bigtop::Parser is the Parse::RecDescent grammar driven parser for bigtop files.

SYNOPSIS

Make a file like this:
config {
base_dir `/home/username`;
Type1 Backend {}
Type2 Backend {}
Type3 Backend {}
}
app App::Name {
table name { }
controller SomeController {}
}
Then run this command:
bigtop my.bigtop all

This module is really only designed to be used by bigtop. It provides the grammar which understands bigtop files and turns them into syntax trees. It provides various utility functions for bigtop (or similar tools you might write) and for backends.

Reading further is an indication that you are interested in working on Bigtop and not just in using it to serve your needs.

<<less
Download (0.37MB)
Added: 2006-09-28 License: Perl Artistic License Price:
1121 downloads
Bigtop::TentMaker 0.18

Bigtop::TentMaker 0.18


Bigtop::TentMaker is a Gantry App to Help You Code Bigtop Files. more>>
Bigtop::TentMaker is a Gantry App to Help You Code Bigtop Files.

SYNOPSIS

Start the tentmaker:

tentmaker [ --port=8192 ] [ file ]

Point your browser to the address it prints. Consult the POD for the tentmaker script for other command line options.

Bigtop is a language for describing web applications. The Bigtop language is fairly complete, in that it lets you describe complex apps, but that means it is not so small. This module (and the tentmaker script which drives it) helps you get the syntax right using your browser.

Unless you need to work on tentmaker internals, you probably want to read the POD for the tentmaker script instead of the rest of this documentation. You might also want to look at Bigtop::Docs::TentTut and/or Bigtop::Docs::TentRef.

<<less
Download (0.39MB)
Added: 2006-10-31 License: Perl Artistic License Price:
1089 downloads
Bigtop::Docs::TOC 0.18

Bigtop::Docs::TOC 0.18


Bigtop::Docs::TOC is a table of contents for Bigtop::Docs::* documentation modules. more>>
Bigtop::Docs::TOC is a table of contents for Bigtop::Docs::* documentation modules.

What Should I Read?

This document is a brief annotated list of each Bigtop::Docs::* module.

Here are the highlights:

Lazy people should start with Bigtop::Docs::TentTut
Those allergic to web apps should start with Bigtop::Docs::Tutorial
Pedants should look in Bigtop::Docs::Syntax instead
Developers should carefully read Bigtop::Docs::Modules

Bigtop::Docs::About

Describes the features and motivations of Bigtop.

Bigtop::Docs::Cookbook

Modeled after the Perl Cookbook, this provides a list of things you might want to do, the syntax needed to make Bigtop do them for you, and the output produced by them. It focuses on hand written bigtop files, rather than on tentmaker.

Bigtop::Docs::Keywords

A (fairly) complete list of keywords Bigtop understands in a compact text file. See Bigtop::Docs::QuickRef for most of the same information in html tabular formatting or run tentmaker which shows complete information in your browser.

Bigtop::Docs::Modules

Documents many of the modules in the bigtop distribution including at least: Bigtop.pm, Bigtop::Parser. This includes a description of the grammar of the Bigtop language and how to work with it. (Note that the grammar is now in its own file called bigtop.grammar, but this has no effect on the docs in Bigtop::Docs::Modules. It may be out of date, but the extraction of the grammar is not the reason.)

Bigtop::Docs::QuickRef

This provides a somewhat complete list of all the keywords Bigtop understands along with some examples in html form. The depth of the tables involved makes it somewhat difficult to use. For a more compact version in plain text, see Bigtop::Docs::Keywords or run tentmaker for complete information in a different web format.

Bigtop::Docs::Syntax

This is meant to fully describe all of the syntax (including deprecations) in the Bigtop language. It is the encyclopedic version of Bigtop::Docs::Keywords.

Bigtop::Docs::TentTut

The tentmaker tutorial. Explains in detail how to use tentmaker to edit Bigtop files. Filled with beautiful screen shots.

Bigtop::Docs::TentRef

A comprehensive tour of tentmaker which assumes you understand the material from Bigtop::Docs::TentTut.

Bigtop::Docs::Tutorial

If you dont like tentmaker, this is where you should start. It walks through building a moderately complex application from scratch using a text editor to enter the proper Bigtop syntax.

Bigtop::Docs::Vim

Explains how to install vim syntax highlighting for Bigtop source files.

<<less
Download (0.39MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1101 downloads
Bigtop::Docs::TentRef 0.15

Bigtop::Docs::TentRef 0.15


Bigtop::Docs::TentRef is a Perl module for tentmaker reference (best viewed in html). more>>
Bigtop::Docs::TentRef is a Perl module for tentmaker reference (best viewed in html).

Intro

If you havent used tentmaker before, you probably want to start with its tutorial: Bigtop::Docs::TentTut. If you dont know what bigtop is, read Bigtop::Docs::About.

Unlike the tutorial, this document assumes you have started looking around tentmaker, but are wondering what all it can do. Here we will walk through it in detail. Consider this an encyclopedia of tentmaker (and dont complain too loudly if it is verbose and pedantic).

After a short section on the various ways to start tentmaker, we will turn to the tabs it offers and what they allow you to control. There you will find many screen shots to aid the discussion. If you cant see them with your current pod viewer, look them up here:

http://www.usegantry.org/images/tenttut or in the docs directory of the Bigtop distribution.

<<less
Download (0.36MB)
Added: 2006-09-25 License: Perl Artistic License Price:
1124 downloads
Bigtop::Docs::TentTut 0.14

Bigtop::Docs::TentTut 0.14


Bigtop::Docs::TentTut is Perl module for tentmaker Tutorial (best viewed in html). more>>
Bigtop::Docs::TentTut is Perl module for tentmaker Tutorial (best viewed in html).

If you dont know what Bigtop is, you might want to start by reading Bigtop::Docs::About.

Bigtop is a language of simple structure, but with many keywords. In an effort to make it easier to use, I have written tentmaker, which amounts to a wizard for building web apps. Yet, tentmaker is not as simple as the wizards so frequently presented by desktop OSes, hence this document. (Further, tentmaker can be used repeatedly, even after an app has been built and deployed.)

Here I will walk you through using tentmaker to generate a bigtop file. Then I will show how to use bigtop to turn that into a web app. Then I will return to expand the example in a second iteration of feature additions. There are plenty of screen shots here, so it is best to view this document with a browser. If you are viewing it with perldoc, you may want to consult the screen shots with another program. You can find them in the docs directory of the Bigtop distribution and on the web at http://www.usegantry.org/images/tenttut.

The example app I will build here is a contact database. It will initially store names and phone numbers. In the second iteration I will expand it.

<<less
Download (0.30MB)
Added: 2006-09-21 License: Perl Artistic License Price:
1128 downloads
Bigtop::Docs::Cookbook 0.15

Bigtop::Docs::Cookbook 0.15


Bigtop::Docs::Cookbook is a Perl module for Bigtop syntax by example. more>>
Bigtop::Docs::Cookbook is a Perl module for Bigtop syntax by example.

This document is meant to be like the Perl Cookbook with short wishes you might long for, together with syntax to type in your bigtop file and what that produces. In addition, many sections start with a simple question about what gets built by the backend in question.

This document assumes you will be editing your bigtop file with a text editor (it was written before tentmaker). You may also choose to maintain your bigtop file with tentmaker. Generally, the advice here governs what values you put in the boxes at the far right side of the Backends tab in tentmaker. Some of the other advice must be applied on the App Body tab. See Bigtop::Docs::TentTut to get started with tentmaker or Bigtop::Docs::TentRef for full details on using it.

For quick syntax reference consult Bigtop::Docs::Keywords for more complete information consult Bigtop::Docs::Syntax or Bigtop::Keywords from which tentmaker draws its on-screen information.

<<less
Download (0.36MB)
Added: 2006-09-23 License: Perl Artistic License Price:
1126 downloads
Bigtop::Docs::Tutorial 0.12

Bigtop::Docs::Tutorial 0.12


Bigtop::Docs::Tutorial is a simple case study of building a web app with bigtop. more>>
Bigtop::Docs::Tutorial is a simple case study of building a web app with bigtop.
Many (not all) applications are mostly data managers. That is, they are really intermediaries between users and various tables in a database. A bigtop file is meant to be a single place to describe all (or practically all) facits of the data in an application. This includes at least:
- The name and special features of each controller.
- The name of each table in the database.
- A description of each column (field) in each table in the database. This includes at least:
- its name and SQL type
- the label the user sees for it when it appears on the screen
- what type of html form element the user uses to enter or update it
- how the data is validated and filtered on its way into and out of the database (filtering yet supported)
- which table the field refers to if it is a foreign key
- etc.
All of these things, and more, are described in a Bigtop file. That file can be given to bigtop to build the application. Once it is built, it can be safely rebuilt so that only the generated bits are changed (this is accomplished by maintaining a clean separation between generated and hand edited files, and by config options in the bigtop file).
Notice that nothing in the above has committed you or me to any particular web application framework, data modeling scheme, templating system, or web server. Bigtop is neutral (think big tent), at least for Perl apps delivered via the web.
<<less
Download (0.28MB)
Added: 2006-06-08 License: Perl Artistic License Price:
1233 downloads
Bigtop::Backend::Init::Std 0.18

Bigtop::Backend::Init::Std 0.18


Bigtop::Backend::Init::Std is a Bigtop backend which works sort of like h2xs. more>>
Bigtop::Backend::Init::Std is a Bigtop backend which works sort of like h2xs.

SYNOPSIS

If your bigtop file looks like this:
config {
build_dir `/home/yourname`;
app_dir `appsubdir`;
Init Std {}
}
app App::Name {
}

when you type

bigtop --create your.bigtop Init

or

bigtop --create your.bigtop all

this module will generate the build directory as

/home/yourname/appsubdir

Then it will make subdirectories: t, lib, and docs. Then it will make files: Changes, MANIFEST, MANIFEST.SKIP, README, and Build.PL. Finally, it will copy your.bigtop into the docs dir of under appsubdir.

As with any backend, you can include no_gen 1; in its config block:

config {
Init Std { no_gen 1; }
}

Then, no files will be generated. But, you can also exclude indiviual files it would build. Simply list the file name as a keyword and give the value no_gen:

config {
Init Std {
MANIFEST no_gen;
Changes no_gen;
}
}

If you are in create mode and your config does not include app_dir, one will be formed from the app name, in the manner of h2xs. So, in the above example it would be

/home/yourname/App-Name

Outside of create mode, the current directory is used for building, if it looks like a plausible build directory (it has a Build.PL, etc). In that case, having a base_dir and/or app_dir in your config will result in warning(s) that they are being ignored.

<<less
Download (0.39MB)
Added: 2006-10-19 License: Perl Artistic License Price:
1101 downloads
Bigtop::Backend::Control::Gantry 0.18

Bigtop::Backend::Control::Gantry 0.18


Bigtop::Backend::Control::Gantry is a controller generator for the Gantry framework. more>>
Bigtop::Backend::Control::Gantry is a controller generator for the Gantry framework.

SYNOPSIS

Build a file like this called my.bigtop:
config {
base_dir `/home/username`;
Control Gantry {}
}
app App::Name {
controller SomeController {}
}

Then run this command:

bigtop my.bigtop Control

When your bigtop config includes Control Gantry, this module will be loaded by Bigtop::Parser when bigtop is run with all or Control in its build list.

This module builds files in the lib subdirectory of base_dir/App-Name. (But you can change name by supplying app_dir, as explained in Bigtop::Parsers pod.)

There will generally be two files for each controller you define. One will have the name you give it with the app name in front. For the SYNOPSIS example, that file will be called

/home/username/App-Name/lib/App/Name/SomeController.pm

I call this file the stub. It wont have much useful code in it, though it might have method stubs depending on whats in its controller block.

The other file will have generated code in it. As such it will go in the GEN subdirectory of the directory where the stub lives. In the example, the name will be:

/home/username/App-Name/lib/App/Name/GEN/SomeController.pm

During the intial build, both of these files will be made. Subsequently, the stub will not be regenerated (unless you delete it), but the GEN file will be. To prevent regeneration you may either put no_gen in the Control Gantry block of the config, like this:

config {
...
Control Gantry { no_gen 1; }
}
or you may mark the controller itself:
controller SomeController {
no_gen 1;
}

<<less
Download (0.39MB)
Added: 2006-10-19 License: Perl Artistic License Price:
1100 downloads
Gantry 3.2.1

Gantry 3.2.1


Gantry is a robust Perl-based Web application framework for Apache/mod_perl, CGI, and Fast-CGI. more>>
Gantry is a robust Perl-based Web application framework for Apache/mod_perl, CGI, and Fast-CGI.
Object-oriented design allows for a pragmatic, modular approach to URL dispatching. Gantry project supports MVC and initiates rapid development, offering an organized coding scheme for Web applications.
Main features:
- Plugin architecture
- Supports mod_perl 1.3 and 2.0
- Supports CGI and Fast-CGI
- Supports Template Toolkit and the ability to plugin other templating systems
- Inherited framework code for a standard CRUD application.
- Calendaring support
- Cookie management
- Form generation and validation
- User authentication: user, group and page-based
- Class::DBI integration
- Database and SQL utilities
- AJAX Support
- TinyMCE Support
- Code generation with BigTop
<<less
Download (0.13MB)
Added: 2006-04-27 License: GPL (GNU General Public License) Price:
1275 downloads
Gantry::Docs::Tutorial 3.40

Gantry::Docs::Tutorial 3.40


Gantry::Docs::Tutorial is a Perl module for The Gantry Tutorial. more>>
Gantry::Docs::Tutorial is a Perl module for The Gantry Tutorial.

Gantry is a mature web framework, released in late 2005 onto an unsuspecting world. For more information on the framework, its features and history, see Gantry::Docs::About.
Here we will explore the basic workings of Gantry by constructing a very simple application. Dont let the simplicity of this example fool you -- this framework has extreme flexibility in delivering applications with web and scripted components. The example in this document is only to get you started.

This document begins by describing a simple one-table management application. It walks through the process of building the application. Then, it shows a tool -- called Bigtop -- which can be used to build the application from a relatively small configuration file. Finally, it shows how to add another table and regenerate the app via Bigtop.

<<less
Download (0.19MB)
Added: 2006-09-26 License: Perl Artistic License Price:
1123 downloads
XML::LibXML::SAX::Builder 0.14

XML::LibXML::SAX::Builder 0.14


Bigtop::Docs::Tutorial is a simple case study of building a web app with bigtop. more>>
Bigtop::Docs::Tutorial is a simple case study of building a web app with bigtop.
Note on What to Read
This document explains how to build an app of moderate complexity by typing in a bigtop file. Since it was written, tentmaker has come along. It is a browser delivered editor for bigtop files, see Bigtop::Docs::TentTut for details.
If you need a simpler example than the one shown here, consider the one table address book example in Gantry::Docs::Tutorial.
Driving Idea
Many (not all) applications are mostly data managers. That is, they are really intermediaries between users and various tables in a database. A bigtop file is meant to be a single place to describe all (or practically all) facits of the data in an application. This includes at least:
The name and special features of each controller.
- The name of each table in the database.
- A description of each column (field) in each table in the database. This includes at least:
its name and SQL type
- the label the user sees for it when it appears on the screen
- what type of html form element the user uses to enter or update it
- how the data is validated and filtered on its way into and out of the database (filtering not yet supported)
- which table the field refers to if it is a foreign key
- etc.
All of these things, and more, are described in a Bigtop file. That file can be given to bigtop to build the application. Once it is built, it can be safely rebuilt so that only the generated bits are changed (this is accomplished by maintaining a clean separation between generated and hand edited files, and by config options in the bigtop file).
Notice that nothing in the above has committed you or me to any particular web application framework, data modeling scheme, templating system, or web server. Bigtop is neutral (think big tent), at least for Perl apps delivered via the web.
<<less
Download (0.30MB)
Added: 2006-08-31 License: Perl Artistic License Price:
663 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1