Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup and update files

  • Loading branch information...
commit 21a4b448f4a11b6a158432a2eefc51253052890f 1 parent 07cfe1b
@romaninsh romaninsh authored
View
15 INSTALL
@@ -1,2 +1,15 @@
-Comprehensive guide to installation of Agile Toolkit is available at
+
+CONCEPTUAL GUIDE
+
+1. Create a PHP file under your webroot.
+2. Include 'atk4/loader.php'
+3. Instanciate one of API classes.
+4. Extend classes and add new classes as necessary.
+
+
+Full installation and learning guide is available at:
http://agiletoolkit.org/learn/install
+
+For a professional documentation see
+ http://agiletoolkit.org/doc
+
View
16 README
@@ -1,13 +1,13 @@
===============================================================================
- Agile Toolkit 4
- Web Interface Library and MVC Framework
- http://agiletoolkit.org
-
- Copyright (C) 1999-2011 Romans Malinovskis
+ Agile Toolkit 4.2
===============================================================================
+ Agile Toolkit is a PHP framework for developing Web User Interfaces.
+Inspired by desktop GUI it provides a full object-oriented foundation for
+Business and Presentation logic of your web software. Compared to other
+frameworks, Agile Toolkit offers a completely new experience
-Agile Toolkit 4 focuses on a quick development of Web Software
+ http://agiletoolkit.org
-You can find comprehensive documentation, guides, screencasts and references at
- http://agiletoolkit.org/
+ Copyright (c) 1999-2012 Romans Malinovskis
+===============================================================================
View
2  VERSION
@@ -1 +1 @@
-4.2
+4.2.0
View
15 header.php
@@ -1,15 +0,0 @@
-<?php // vim:ts=4:sw=4:et:fdm=marker
-/**
- * File: Blah
- *
-*/
-/*
-==ATK4===================================================
- This file is part of Agile Toolkit 4
- http://agiletoolkit.org/
-
- (c) 2008-2011 Romans Malinovskis <atk@agiletech.ie>
- Distributed under Affero General Public License v3
-
- See http://agiletoolkit.org/about/license
- =====================================================ATK4=*/
View
BIN  img/calendar.gif
Deleted file not rendered
View
BIN  img/rss.png
Deleted file not rendered
View
74 tools/kickstart-admin.sh
@@ -1,74 +0,0 @@
-#!/bin/bash
-
-# This script will help you start your adming using AModules3
-#
-# Go into directory, where you want to use AModules3 and run
-# this script
-
-function exists {
- echo "Files in your current directory already exist. You should run" >&2
- echo "this script from empty directory" >&2
- exit;
-}
-
-[ -f kickstart.sh ] && {
- echo "Please go to empty directory and call this script like this:" >&2
- echo "> amodules3/kickstart-admin.sh"
- exit;
-}
-
-[ -f .htaccess ] && exists
-[ -f main.php ] && exists
-
-apdir=`dirname $0`
-apdir=`dirname $apdir`
-loader=$apdir"/lib/loader.php";
-
-echo "apdir=$apdir"
-
-mkdir templates 2>/dev/null
-
-cat > .htaccess <<EOF
-RewriteEngine on
-RewriteBase /
-RewriteRule .* - [E=URL_ROOT:/]
-RewriteRule ^(main.php.*)$ $1 [L]
-
-RewriteRule ^([^\.]*\.html.*)$ main.php [L]
-RewriteRule ^([^\.]*\.xml.*)$ main.php [L]
-RewriteRule ^([^\./&?]*)$ main.php [L]
-EOF
-
-cat > main.php <<EOF
-<?
-include '$apdir/loader.php';
-\$api = new ApiAdmin('ATK','jui');
-\$api->main();
-?>
-EOF
-
-if echo $apdir | grep -q '\.\./'; then
-cat >> .htaccess <<EOF
-RewriteRule ^(.*gif)$ wrap.php?file=\$1&ct=image,gif [L]
-RewriteRule ^(.*png)$ wrap.php?file=\$1&ct=image,png [L]
-RewriteRule ^(.*css)$ wrap.php?file=\$1&ct=text,css [L]
-RewriteRule ^(.*jpg)$ wrap.php?file=\$1&ct=text,jpg [L]
-RewriteRule ^(.*js)$ wrap.php?file=\$1&ct=application,x-javascript [L]
-EOF
-
-
-cat > wrap.php <<EOF
-<?
-\$amodules3_path="$apdir";
-include_once \$amodules3_path.'/tools/generic-wrap.php';
-EOF
-fi
-
-ln -sf $apdir/tools/update.sh .
-mkdir docs
-mkdir docs/dbupdates
-
-# we don't link anymore we use them out from there :)
-#[ -f amodules3 ] || ln -sf $apdir amodules3
-echo "Edit main.php, create your templates inside templates/"
-echo "consult documentation on http://adevel.com/amodules3"
View
66 tools/kickstart-static.sh
@@ -1,66 +0,0 @@
-#!/bin/bash
-
-# This script will help you start your adming using AModules3
-#
-# Go into directory, where you want to use AModules3 and run
-# this script
-#
-# TODO: this needs testing!
-
-function exists {
- echo "Files in your current directory already exist. You should run" >&2
- echo "this script from empty directory" >&2
- exit;
-}
-
-[ -f kickstart.sh ] && {
- echo "Please go to empty directory and call this script like this:" >&2
- echo "> amodules3-web/kickstart.sh"
- exit;
-}
-
-[ -f .htaccess ] && exists
-[ -f main.php ] && exists
-
-apdir=`dirname $0`
-loader=$apdir"/lib/loader.php";
-
-echo "apdir=$apdir"
-
-mkdir templates 2>/dev/null
-
-cat > .htaccess <<EOF
-RewriteEngine on
-RewriteRule .*\.html main.php?page=$1
-RewriteRule .*/$ main.php?page=$1
-# all the pages will be processed through main.php
-EOF
-
-cat > main.php <<EOF
-<?
-include 'amodules3/loader.php';
-\$api=new ApiStatic('my_application');
-\$api->main();
-?>
-EOF
-
-cat > templates/components.html <<EOF
-This is component library..
-
-<?test?>
-Templates works normally
-<?/?>
-EOF
-
-cat >index.html<<EOF
-<?test?>
-Your templates DO NOT WORK :(
-<?/?>
-<p>
-For more information on ApiStatic please read documentation.
-EOF
-
-
-[ -f amodules3 ] || ln -sf $apdir amodules3
-echo "Edit main.php, create your templates inside templates/"
-echo "consult documentation on http://adevel.com/amodules3"
View
60 tools/kickstart-web.sh
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-# This script will help you start your adming using AModules3
-#
-# Go into directory, where you want to use AModules3 and run
-# this script
-#
-# TODO: this needs testing!
-
-function exists {
- echo "Files in your current directory already exist. You should run" >&2
- echo "this script from empty directory" >&2
- exit;
-}
-
-[ -f kickstart.sh ] && {
- echo "Please go to empty directory and call this script like this:" >&2
- echo "> amodules3-web/kickstart.sh"
- exit;
-}
-
-[ -f .htaccess ] && exists
-[ -f main.php ] && exists
-
-apdir=`dirname $0`
-loader=$apdir"/lib/loader.php";
-
-echo "apdir=$apdir"
-
-mkdir templates 2>/dev/null
-
-cat > .htaccess <<EOF
-RewriteEngine on
-RewriteRule ^(main.php.*)$ \$1 [L]
-RewriteRule ^([^\./]*(&.*)?)$ main.php?page=\$1 [L]
-EOF
-
-cat > main.php <<EOF
-<?
-include 'amodules3/lib/loader.php';
-\$api=new ApiWeb('my_application');
-\$api->add('SMlite')->loadTemplate('Index.html');
-\$api->main();
-?>
-EOF
-
-cat >templates/Index.html<<EOF
-<?page_content?>
-Welcome to AModules3. This template was automatically generated with kickstart.sh. Customize
-it, it's located in templates/Index.html.
-
-See documentation on <a href="http://adevel.com/amodules3/">http://adevel.com/amodules3</a> for information about getting started
-with AModules3
-<?/page_content?>
-EOF
-
-
-[ -f amodules3 ] || ln -sf $apdir amodules3
-echo "Edit main.php, create your templates inside templates/"
-echo "consult documentation on http://adevel.com/amodules3"
Please sign in to comment.
Something went wrong with that request. Please try again.