phproberto / joomla-entity Goto Github PK
View Code? Open in Web Editor NEWSemantical API for Joomla!
Home Page: https://phproberto.github.io/joomla-entity/
License: GNU Lesser General Public License v2.1
Semantical API for Joomla!
Home Page: https://phproberto.github.io/joomla-entity/
License: GNU Lesser General Public License v2.1
This is not really a bug but how User table works in joomla. You usually can do something like this to load a row based on some of its columns:
$table->load(['title' => 'My title', 'access' => 1]);
But joomla user table uses id in load:
$userTable->load(12);
It does not work like other tables. Suggested fix is to override loadFromData()
method in user entity to perform a custom query based on tables behavior.
When extending joomla-entity you usually need to add it as a require-dev dependency. The issue with the joomla extension folder structure is that you lose the option to share it through packagist for testing purposes.
Let's keep this repo for the pure PHP library and create a joomla-entity-library
for the joomla extension. That way we can also test there that extension is installed, etc.
Amazing stuff!!
I understand that the method to create instances is instance... and that's mainly because of Joomla's current practice.
To depart from the old practice, I'd love to have the verb to the action of object creation as create... it could be simply an alias.
Again, thank you @phproberto !
Hi Roberto, if been following you progress developing joomla-entity, joomla-common, joomla-component, joomla-module, over the last weeks, but would like some explanation so if you could write a blog post or have some practical instructions that would be nice, perhaps then i'm able to test.
greetings Ruud
Integrate the jekyll template used for joomla-twig and other projects to ease navigation through documentation.
This fails:
JLoader::import('joomla_entity.library')
because the awesome JLoader
identifies a library as joomla if starts with joomla
. We probably need to replace it with phproberto_joomla_entity
so it uses the same structure than joomla-module package.
Hi,
When I try to delete a Category, a wrong asset name is being generated ".category.0".
Please, check the following PR with an idea for a fix.
Currently we are using https://github.com/phproberto/joomla-common for some small stuff. I think it doesn't make sense to keep it separately because it doesn't have a real value by itself.
So let's merge it back here to enrich joomla-entity
Allow that searches are cached based on the options received.
Right now we cannot serve pagination data because it does not support it. Ideally we want that after any search we can use getPagination to retrieve a pagination object
Hola Roberto!
I want to know if will be possible in the future to use this library using composer/packagist for standalone applications.
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.