Giter Site home page Giter Site logo

tina4stack / tina4-php Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 18.0 41.77 MB

Tina4 PHP composer repository

Home Page: https://tina4php.com/documentation

License: GNU General Public License v3.0

HTML 2.35% PHP 87.93% Twig 0.51% Dockerfile 5.06% JavaScript 4.15%
php framework firebird mysql sqlite swagger openapi tina4-php annotations orm

tina4-php's People

Contributors

andrevanzuydam avatar chrismeistre avatar clayton1717 avatar claytonk007 avatar crishigham avatar dependabot[bot] avatar francoisrob avatar huesamai avatar jacquestvanzuydam avatar justin-k-bruce avatar raees-b-19 avatar shaunroselt avatar theremastered1 avatar tina4stack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tina4-php's Issues

MySql syntax errors failing migrations

For Mysql, when there is an error in the sql syntax, it crashes the migration, rather than returning an error. It is failing on line 44 of the Tina4Database DataConnection.php. Called from line 25 in MySqlExec

Swagger - example object for GET

using the @example object for GET api endpoints breaks the swagger curl. Need to create and @responseexample tag to enable and example object to be provided in the swagger example field for API endusers to understand what will be retured from a GET.

Tina4 CRUD - read only works on a single table

Context:
While I understand that CRUD is meant to do maintenance on a single table, when creating the CRUD for a linking table, just having ID's is not easily readable.
Problem:
It is easy enough to modify the CRUD code to add in a lookup table that allows a drop down for the fields, and allows them to replace the id in the grid form. However this then breaks the data table search and sorting feature as Tina4, when creating the search filter presumes that all fields are in the ORM table. The offending line on CRUD.php line 336 will give some insight as $tablePrefix is always t.
Solution:
It would be very useful for lookups to be available in CRUD, but requires a rewrite of the getDataTablesFilter(), and some other places. Please confirm, we can move in this direction and we can look at getting this fixed. Thanks

First migrate/create fails

I think there is a bug in Tina4. To replicate, create a new project with a mysql database. The first migration/create fails on line 62 of DataResult.php as it tries to count a null (there were no records) . I am not going to put in a fix, as I am not sure where you want it changed in the DataResult or in the DataMySql. Hope I am not wrong, but I have spent some time on it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.