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
2 answers

Agiletoolkit login cookie issue on subdomains

i am using the atk4 basic auth so when i login here http://subdomain1.DOMAIN.pk/index.html i see all the details you are visiting: subdomain1 your site : subdomain2 This is not your site string(23) "abc@gmail.com" You are logged in as…
Zeeshan Abbas
  • 821
  • 6
  • 20
0
votes
1 answer

Upload images and return filenames to DB

I have a question: I need upload an image (in form) and add path to it (eg: /uploads/0/20131010_logo.png) to database (as value of image field), how can i do that? FileStore already configured my form (field previewIMG): $form =…
Rakshazi
  • 75
  • 1
  • 10
0
votes
2 answers

Agile Toolkit 4.2.4 is not working in development server

Respected Sir/Madam, I am new in Agile Toolkit, a PHP Framework. I have downloaded from http://agiletoolkit.org/distfiles/agiletoolkit-4.2.4.zip and then I have uploaded on the ftp server and changed the permission of all files as well as…
ankan
  • 1
  • 4
0
votes
1 answer

Should this also work with CRUD?

I am attempting to create a new model that joins to tables and presents them using CRUD, following this example. What am I missing? Will this not work with a) filestore? b) CRUD? or c)? There is a customer contact table: class Model_Contact extends…
Mark
  • 27
  • 5
0
votes
1 answer

adding filestore to CRUD with 4.2.4 (existing examples obsolete?)

I am trying to add file upload (filestore) to an existing CRUD page. The examples I've found are all rather dated, and apparently filestore has changed enough where most of what you'll find is obsolete. I did locate this tutorial video, which shows…
Mark
  • 27
  • 5
0
votes
0 answers

ATK4: import CSV into database using CLI?

I'm asking for a short, clean example to build from... I'm new to atk4 and have been working my way through tutorials (etc) - and am also fairly new with PHP etc.. so few things are 'obvious' to me at this point. I have created CRUD screens for all…
Mark
  • 27
  • 5
0
votes
1 answer

Implementing basic next/previous picture

I'm trying to convert the Adjuster example mentioned here: http://agiletoolkit.org/learn/understand/view/interactive into a View that is able to show me the next/previous picture of a list of given images. I guess the number in the example could be…
gsteenss
  • 68
  • 5
0
votes
1 answer

how to change output before rendering in agile toolkit?

Is there any hook to change the output before being rendered? I want to change the last full output (not changing the views) Best Regards
webelizer
  • 418
  • 2
  • 11
0
votes
0 answers

pdo_error: SQLSTATE[42000]: Syntax error or access violation: 1064 in agile toolkit

I have uploaded my codes to host and now it throw exception: (it works perfectly in local) Error in AJAX response: SyntaxError: syntax error Application Error: Database Query Failed Exception_DB, code: 0 Additional information: pdo_error:…
webelizer
  • 418
  • 2
  • 11
0
votes
1 answer

How to set different Model fields for Grid and for Form when using CRUD::setModel()?

In Agile Toolkit framework, when I add a CRUD object, can I specify which fields are visible during Grid mode and which fields are visible during Edit mode? I am using "setModel()" to populate fields. E.g. $crud =…
webelizer
  • 418
  • 2
  • 11
0
votes
1 answer

Template database population

Need to populate a template:
In the Page I have this:
jnm3
  • 1
0
votes
2 answers

Change field value on checkbox click

I have a simple form like this: $label=$p->add('View_HtmlElement')->setElement('h4')->set('Test'); $f=$p->add('Form'); $f->addField('Checkbox','click')->js('click')->getElement($label)->set('HELLO WORLD')->execute(); $f->addSubmit('Accept'); I…
AJM.MARTINEZ
  • 477
  • 2
  • 10
0
votes
2 answers

how to load page b using expander in page a?

as you know, we can use this code in index and it works truely... it loads the page_userreferals... $g->addColumn('expander','userreferals',"Users List"); but when I use it in other pages, an error occurs... Exception_PathFinder, code:…
webelizer
  • 418
  • 2
  • 11
0
votes
2 answers

Agile Toolkit Form submit not working

I'm new in Agile toolkit. I was trying to create the project Jobeet. I create models job and category and the file generate.php whith SchemaGenerator class. When I select model and press Generate SQL submit button doing nothing. Also I saw that…
0
votes
1 answer

Error when clicking Add-button in CRUD

When a form or an add-button returns to a page, it throws an error or shows wrong output on the page, if there is js or other kinds of output on the page. Here is an example: $tabs->addTab('Skoler')->add('CRUD')->setModel('School'); …
jeppeb
  • 103
  • 8