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

File Upload not working after moving form field

I have a large form with a image upload field working ok. Field is defined in model as: $this->add('filestore/Field_Image','thumbnail_id'); Then I created two tabs inside…
Jaume
  • 63
  • 4
0
votes
1 answer

Agiletoolkit: Autocomplete/Plus error: null model

I am trying to use the autocomplete addon in agile toolkit (I am still very much new to this, but it seems to be very well suited for my needs). Autocomplete Basic works, but when I use Plus and press the plus-button I get an error connected to no…
jeppeb
  • 103
  • 8
0
votes
2 answers

Is agiletoolkit (atk) framework dead?

I want to choose ATK (http://agiletoolkit.org) as my framework for easily build the admin part, I have 2 questions. In their site, I see that the last blog post was a year a go. Is this project continuing? Should I use this framework in the site…
yos mishan
  • 193
  • 2
  • 13
0
votes
1 answer

Agile Toolkit - OR statement in combination with Model

I have a Model from which I want to select all rows for which 'caller' or 'callee' is a given value for presentation in a Grid. I have tried lots of different avenues of accomplishing this and cannot get anywhere with it. I have a working filter on…
0
votes
0 answers

SQL Server database support

does Agile Toolkit support MS SQL Server database connection? Under "atk4\lib\DB\dsql" folder i don't see a suitable driver. I tried to do a test with sqlsrv driver, setting a proper dsn in config file. But i have this application error when…
0
votes
1 answer

Traversing relationships (simple)

Bear with me please, I'm still learning. I have 4 Models as so: class Model_Users extends Model_Table { public $table="users"; function init(){ parent::init(); $this->addField('name')->mandatory('Enter Name'); …
Sputnikk23
  • 63
  • 9
0
votes
0 answers

atk4 cart implementation for e-commerce

Under your advice i've use the grid methode to build my cart. [1]*: https://i.stack.imgur.com/wgkli.png $grid = $this->add('Grid',null,'panier'); $grid->set('show_header',false); // ->don't work I comment a line into…
Adrien
  • 3
  • 2
0
votes
1 answer

GRID COLUMNS atk4 agiletoolkit

Hi I am trying to get some referenced data from another table, Data structure: Table PartDetail -id -OperationTypeID(foreign key) -DateAdded Table OperationType -id -Description I am trying something like this: $crud = $this->add('MVCGrid',…
Sergio
  • 53
  • 6
0
votes
2 answers

add conditional button to my grid with agile toolkit

I have a "Model_Product" with data and a "statut" field. I would like to display my data on a grid an add an action button adapted to the statut : $grid->addcolumn(Button, /* function of the statut field*/ ) By now I have…
Adrien
  • 3
  • 2
0
votes
1 answer

how to extract a specific list from a Model with Agile Toolkit

i'm working with Agile Toolkit i got a Model_Product class Model_Product extends Model_Table { public $table="product"; function init(){ parent::init(); $this->addField('name')->mandatory(true); …
Adrien
  • 3
  • 2
0
votes
2 answers

AgileToolkit - Custom SQL request + Paginator

Hello I a little problem with my paginator, i would like to use some custom SQL Request but each time i click on a paginator link it loads my model without the custom request I enter informations on a form that I send by GET…
0
votes
1 answer

How to Set a Filter on a Field Referencing a Model in ATK4

i am currently doing a complex multi-level classification system. to simplify, i will explain what i am trying to accomplish by providing theoretical examples: i have a group table: group id| group name 1 | A 2 | B 3 | …
0
votes
2 answers

Dropdown dependents agile toolkit

Hello friends a pleasure to be around here, I'm new to this framework and I have a few doubts about how to make dependent dropdown, for example, I have a list of countries and select a country to show me their states hope I can help from already…
baxi2990
  • 13
  • 4
0
votes
2 answers

How to I set a field in a form to auto increment based on the primary key ID?

I'm new to Agiletoolkit and still learning the ropes. Here's my question: I have a regular CRUD for managing jobs. $this->add('CRUD')->setModel('Job'); Model contains field "job_number" which is should automatically be filled-in on the "Add" page:…
Trevor
  • 11
  • 1
  • 4
0
votes
1 answer

Grid with button to details page

I have a grid that displays contact names. I want to be able to have a details button that links to another page(details), which will display the contact details such as , name, addresss, notes, etc... I know how to add the button to the grid but…
Ralanyo
  • 61
  • 9