Questions tagged [atk4]

Agile Toolkit is Object Oriented PHP framework for building rich Web UI

Agile Toolkit was refactored in 2016 and broken down into few modern PHP libraries which can be used independently or together:

ATK Data - Data Access abstraction framework designed for high-latency (Cloud) databases. Unlike ORM - uses extensions of individual database engines to run aggregation and calculations server-side reducing number of queries and amount of data exchanged. Supports SQL and NoSQL.

ATK UI - Object-oriented approach for building server-side Web UI. High level components make ATK UI very efficient to build Admin, ERP and other backend systems. Integrates and relies on ATK Data. Can be used in vanilla PHP or integrated into Wordpress or Laravel with 3rd party middleware.

ATK API - High-level framework for building RestAPI based on Zend Diactoros. Implements deep integration with ATK Data: type mapping, REST operations and authentication.

Other Resources

396 questions
0
votes
1 answer

Agile Toolkit "filestore"

Hi i am trying to implement the filestore for a prototype project, an online policy register. I was following the Jobeet tutorial and have also looked at the doc/filestore page on agiletoolkit.com and the tutorial video on your youtube site, but I…
Roxout
  • 3
  • 1
0
votes
1 answer

Agile Toolkit and Bootstrap

I am using CI, but seriously considering a move to ATK4. The SaaS code I build always has to be desktop & mobile accessible, so recent projects have relied on Twitter's Bootstrap layouts to allow a good browser experience, regardless of screen…
0
votes
1 answer

Undefined property for public var in Model class?

I'm somewhat confused about the following snipped of code which simply checks if a column exists in the table before adding it to the Model with addField(). strangely however, PHP error_log warns me that the public variable is not properly defined…
gsteenss
  • 68
  • 5
0
votes
1 answer

Installation of Agiletoolkit where do I set mysql password for database test?

I am trying out agiletoolkit. I get an error when I try to do the Database test. PDO error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) DSN: mysql:host=localhost;dbname=example;charset=utf8 and then there…
0
votes
1 answer

addTotals to CRUD Grid crashes edit

Pretty simple issue. I know that that CRUD uses Grid so I did: $finances = $grant->ref('Finances'); $crud=$tabs->addTab('Finances')->add('CRUD', array('allow_add'=>false, 'allow_del'=>false)); $crud->setModel($finances); …
Omar Mir
  • 1,500
  • 1
  • 19
  • 39
0
votes
1 answer

Dropdown values and defaultValue set from hasOne inside Model

I have the following model: class Model_GrantMinimal extends Model_Table { public $table='grant'; function init() { parent::init(); $this->hasOne('User'); $this->getField('id')->hidden(true); …
Omar Mir
  • 1,500
  • 1
  • 19
  • 39
0
votes
1 answer

Extending the Grid UI element to link to a page

I am using Agile Toolkit for some development and would like to extend the existing Grid Control so that each row contains the data (as it does right now) but also links to a page with a query string that contains the ID. I want to be able to do…
Omar Mir
  • 1,500
  • 1
  • 19
  • 39
0
votes
1 answer

Agile Toolkit addExpression and DSQL

I have been following the book provided by the agile toolkit and am at this portion: http://agiletoolkit.org/learn/app/logic Unfortunately the dsql api lacks some clarity and the calculated fields example on that page is just not working. I tried…
Omar Mir
  • 1,500
  • 1
  • 19
  • 39
0
votes
1 answer

Agile Toolkit: Password Change FormAndSave

I have been following the Agile Toolkit "Book" and I have reached: http://agiletoolkit.org/learn/app/auth I tried using the code provided: class page_account extends Page { function init(){ parent::init(); …
Omar Mir
  • 1,500
  • 1
  • 19
  • 39
0
votes
1 answer

Agile tool kit oAuth facebook autentication enable

I have configured atk-addons oauth login using facebook. After entering user creantial facebook redirect to my application which leads server error The website encountered an error while retrieving…
Vinay
  • 63
  • 1
  • 7
0
votes
1 answer

How to use form validation with the CRUD component in AgileToolkit4?

everyone. I've started using atk4 in a personal project a couple weeks ago and have been facing some difficulties since then. This specific question I want to ask is about how to make form validations when using the CRUD component shipped with the…
i.calixto
  • 29
  • 1
  • 4
0
votes
1 answer

Adding expression to CRUD

I have found the new method of adding and expression to a model using ATK4.2.1 but I am having problems adding this to a CRUD view by without getting error "Method is not defined for this object". Is this possible? Can an expression be viewed in a…
Micheal
  • 105
  • 7
0
votes
1 answer

How to use templates across APIs in ATK?

I've followed the Video store and Jobet examples, and I'm trying to create an Administrator interface in the ./admin subdirectory. However, I want to use templates and I'm not sure if I need to create a new template directory, i.e.…
LostInTheWeb
  • 187
  • 1
  • 11
0
votes
1 answer

How to disable adding of elements in CRUD?

How to prevent user from being able to add new entries in a standard CRUD View in Agile Toolkit? $this->add('CRUD')->setModel('User');
romaninsh
  • 10,606
  • 4
  • 50
  • 70
0
votes
1 answer

textarea field getElement()

Iḿ trying to add more "columns" to a text area. I have a form with $f->addField('text','field'); $f->getElement('field')->setAttr('rows','8'); If I set 'rows' property I can add more rows to my textarea, but if i set the 'cols' property It doesn't…
AJM.MARTINEZ
  • 477
  • 2
  • 10