Which PHP Framework is the fastest?

Tuesday, June 5th, 2012|Uncategorized|by Romans|18 Comments

This question is often asked, but is never answered properly. So how to measure framework speed? Let me also explain why “scalability” is more important than general “performance”.
Read more

A Framework for Professional, Enterprise and Scalable development

Tuesday, May 8th, 2012|Uncategorized|by Romans|

Have you seen some potential in Agile Toolkit? If you are still unsure if you should adopt it in your critical product, read the following introduction to Agile Toolkit. This introduction is oriented at senior software engineers and describe some of the problems Agile Toolkit will help you solve in the long run.

Read More…

Or

Watch Presentation Slides…

New Example code browser / inspector

Wednesday, November 2nd, 2011|Uncategorized|by Romans|2 Comments

I’m pleased to announce the update of the “codepad”, which has been transformed into much more powerful Example browser and Object inspector.

http://codepad.agiletoolkit.org/

One awesome tool I’ve created in the process is the right-side “inspector”. Inspector examines the current page and objects on that page looping through them and finding objects which were added by the example. You can then mouse-over the objects to highlight the objects on the page or click to see source code of that class.

Enjoy all the examples and I plan to add more examples (from http://demo.atk4.com/) soon.

Download and Install Codepad

Would you like to look further into how codepad works? You can get it from github:

git clone git://github.com/atk4/atk4-codepad.git
git submodule init
git submodule update

Add your own examples into page/* to share them with your friends. You can also “fork” codepad and push back some of your own examples if you would like to see them in the Codepad.

Creating Smart Buttons in Agile Toolkit

Monday, October 17th, 2011|Uncategorized|by Romans|3 Comments

I am working on a project, which features numerous places where it’s possible to select a client from a drop-down. I thought about creating a single class, which will work as a button, but would also contain the logic of actually adding the client through a form in jQuery UI Frame.

As a result, I’ve created a universal “NewEntry” button, which can be added anywhere like this.

[php]
$client=$form->addField(‘autocomplete’,'client_id’);
$client->setModel(‘Client’);
$client->add(‘Button_NewEntry’,null,’after_field’)
->setLabel(‘New Client’)->setModel(‘Client’,array(‘name’));
[/php]

This produces the following:

  • Button is added next to the field
  • When button is clicked, new dialog is displayed offering to add new client
  • After form is submitted, dialog closes and new client is automatically selected in auto-complete field
  • Works with any model, label and list of visible fields can be customized

Read more

Build awesome re-ordering interface in PHP/ATK4 with one line of code.

Wednesday, October 5th, 2011|Uncategorized|by Romans|2 Comments

Agile Toolkit is awesome because it’s simple. Sometimes it lacks a feature, but it’s simple to add this feature. Having all those features in the core would be an over-kill, so many features are not in there on purpose.

An example is this controller, which will make items in your Grid order-able. Here is the screenshot of how it performs:

This sexy interface is implemented as a stand-alone controller in Agile Toolkit in about 70 lines of code and small bit of HTML,  no JS or CSS. But more importantly, it can be added to any Grid out there with just this:

[php]
$grid->add(‘Controller_GridOrder’);
[/php]

Why is it important / cool?

  • It uses standard interface and will look right at home inside your project.
  • Relies on standard elements of Agile Toolkit.
  • Simple enough for you to read through and understand
  • Object-oriented so you can extend it to make it behave differently.
  • Requires no change to Grid.
  • Works with any model (just add numeric field “ord”)

Share your code!

When you develop your software, your goal is to get it done. This controller  took me about 30 minutes to implement. To properly document it and share, it would take some more time.

I’m pretty sure it’s same for you. If you are developing with Agile Toolkit, you might have a few interesting bits out there. My plan is to make it super-easy for you to throw a link to your Github repository and then let others convert your code into the properly documented add-on. Instead of re-inventing it, they could clean it up and document.

This way we don’t have to re-implement every bit and we’ll have a great library of add-ons growing!

How to share.

First – put your code into github and make it public. Even if it’s your personal project, it won’t hurt.

I’ll be working on the section on www.agiletoolkit.org where you will be able to “share” some goodies you have in your code. Leave it to other devs to extract it from your code, clean it up and improve. Your contribution to Agile Toolkit community would be highly appreciated.

How to Earn money with Open Source?

Monday, September 26th, 2011|Uncategorized|by Romans|1 Comment

OpenSource is an amazing phenomena, but how safe open-source projects are? Would commercial project be safer over the community-supported project?

Frameworks can’t exist without their core team and In this article I look at how different PHP frameworks are supporting their core developers.

Read more

In preparation of 4.1 stable release of Agile Toolkit

Thursday, July 7th, 2011|Uncategorized|by Romans|2 Comments

We listen to your feedback and are cleaning code, adding PHPDOC support and more stuff. The “master” branch in github was switched to a version in preparation of 4.1 release.

If you were using 4.0 and are not quite ready to update then checkout “4.0″ branch from git. If you were on 4.1-beta1 then you are welcome to try “master”. If it produces errors, you can fall back to “4.1″ branch.

Of course we would love if you use “master” and gave us feedback on the errors you encounter. There are few minor thing to consider if you are switching from 4.1b1 though. Official upgrade guide is not out yet, hence the blog post:

Read more

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!