Closed shahryarjb closed 6 years ago
just a question,
how it related to Joomla? it even not PHP
I want to try to create Json restful
for this you need to create a component in Joomla, If I right understood your question.
Hello @Fedik , you think all of these are for the sake of Elixir Language ? Im not sure , because Php have many power too.
for this you need to create a component in Joomla, If I right understood your question.
Yes, I need to create multi component and integration Joomla
to mobile
app or react
app and ... , but I have no more option in Joomla for these. for this purpose :
it takes me for long time to create web service in Joomla.
I have to write more code and I need more time to create one web service .
by the way in laravel the developer have a magic tools for creating MVC , this tools may be for create new component in Joomla
I think the Joomla which is one of the best cms
of the world should do different option in the its cms
for developers, in the all of version which were released , Joomla tries to say that it is just a cms
not a framework .
Thanks , I hope Joomla always is good. Especially that the Joomla4 is coming soon.
Please see : https://laravel.com/docs/5.6/eloquent
Capsule::schema()->create('todos', function ($table) {
$table->increments('id');
$table->string('todo');
$table->string('description');
$table->string('category');
$table->integer('user_id')->unsigned();
$table->timestamps();
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
});
We're working on our own ORM in J4 - WIP at https://github.com/joomla-projects/entities
Given this post is largely just advertising other frameworks I'm going to close this. If you want to bring up specific issues about the orm - please do so in the entity repo
@wilsonge now a days, we advertise when the system needs a better way . interesting !!!!
I've given you a link to our WIP at doing this better - so of course that means we are working on a better way and that we accept the current system needs improving.
I want to try to create Json restful, but I have a problem with Joomla ORM, for example in elixir language in Ecto ORM , we can write types
if you see that code in elixir
Ecto
, you will know, all error of user request are processed by ORM andJson
web service router can handle it , but inJoomla
I don't have any option for creating handle web service well, therefore it takes me for long time to create web service in Joomla.it is clear that Elixir is a modern language , but Ecto just is a library which is created by elixir community.
Joomla developers can't create big work until Joomla will want to do these. Joomla is a framework laravel too or Phoenix.
Thank you.
https://hexdocs.pm/ecto/Ecto.html