Agile Toolkit Translations

Friday, May 20th, 2011|Uncategorized|by Romans|

I wanted to tell thanks to those few, who have offered to translate Agile Toolkit into different languages. Verison 4.1 is coming with multi-lingual support and we will also work with volunteers to translate documentation on this website.

If you are willing to help us out with translations as we prepare documentation, you need just the knowledge of Git. www.agiletoolkit.org is built on the framework itself, so it separates content from the logic. Here are the steps for you to get startedt:

  1. open https://github.com/atk4/atk4-web and click “fork”. You will get new repository such as yourname/atk4-web
  2. clone repository to your local computer
  3. checkout devel
  4. git submodules init
  5. git submodules update
  6. modify main.php by adding ‘pl’ argument for app creation. This sets locale.
    open http://localhost/?page=learn/install/lamp header and first paragraph should be in polish.
  7. inside locale/pl you will have 3 directories. ‘lib’, ‘page’ and ’templates’. Copy only the content you are going to change from templates/jui -> locale/pl/templates
  8. commit back to your repository.
  9. if directories do not exist for your language, then you can create them easily.
  10. create “pull request” once you have added some pages.

Follow on the files as they are being changed. We are doing severe improvements on our front page and introduction. Look into lib/Sitemap.php to see how documentation is going to be laid out.

 

Huge thanks to those helping us out and making Agile Toolkit more accessible to more people!

What’s coming up in Agile Toolkit 4.1?

Saturday, May 14th, 2011|Brainstorming, Core changes, Version 4|by Romans|5 Comments

Sneak peak into 4.1 which is scheduled to be released this summer.

  • New Theme. Your web application will look even sexier by default. We will also keep current “jui” theme. Both themes are using jQuery UI CSS framework and 960 grid system, but will also allow full-width applications.
  • Possibly improved template parser. I’ve run couple of tests on real-life application. Agile Toolkit is quite fast. The component with takes most of the time is SMlite (our template parser). By rewriting it more efficiently we might be able to improve raw performance of applications. There are still few bugs to iron out. (If you are really good with regular expressions, please contact me, I could use some help!)
  • Testing for the rest of us. Honestly, I think other testing suites for PHP suck. So we’ll have our own. Writing test scripts will be as easy as adding 5-line function. You will see a visual console right away which will automatically capture output, will save testing results into database with revisions and additional information, will allow to convert unit tests into speed-tests and memory consumption tests. It will also have some other nifty features.
  • PDO support (although we will primarily support only MySQL)
  • Model to SQL convertor.
  • New add-on: Sexy password checker based on crack-lib. To add: $field->add(‘StrengthChecker’,null,’after_field’);
  • New add-on: Infinite-add form
  • New add-on: AJAX CRUD
  • Filestore_Image: Support for image uploads, automates resize, crop and other management.
  • SEO goodies: Simpler way to customize meta-tags

Many other enhancements, listed here: http://agiletoolkit.org/whatsnew or in github: https://github.com/atk4/atk4/commits/devel

As you probably know, Agile Toolkit is free to use if you are using it in Open-Source project. We plan to also offer it for free for personal, education and non-profit projects. We are also will be giving away commercial licenses to early adopters. If you are already using Agile Toolkit, get in touch with us for a free license.

As our launch draws closer, we will deploy community forum and other resources. Stay tuned by following or subscribing!

Agile Toolkit for Business Survey

Monday, May 9th, 2011|Misc|by Romans|

Please take a moment to fill out our 10-question survey about Web Frameworks in your company.

http://svy.mk/iFkeJn

Sending Email from PHP using Templates

Monday, May 2nd, 2011|Beginner tips, Version 4|by Romans|3 Comments

Agile Toolkit bundles a powerful emailing class. However instead of focusing on adding SMTP support and related features (which are rarely used in live environment anyway) this class focuses on use of Mail Templates and simplifying email sending in general.

[php]
$mail=$this->add(‘TMail’);
$mail->loadTemplate(‘test-mail’);
$mail->setTag(‘name’,'John’);
$mail->setTag(‘product’,'VAC-293′);
$mail->setTag(‘link’,$this->api
->getDestinationURL(‘./register’,array(‘code’=>’123′))
    ->useAbsoluteURL());
$mail->send($email);
[/php]

See this code in action:

http://codepad.agiletoolkit.org/tmail