Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17993 > unrolled thread

Symfony 4/ / Doctrine - how to utilize third party entities?

Started byMarek S <precz@spamowi.com>
First post2019-06-14 20:56 +0200
Last post2019-06-16 09:46 +0200
Articles 4 — 2 participants

Back to article view | Back to comp.lang.php


Contents

  Symfony 4/ / Doctrine - how to utilize third party entities? Marek S <precz@spamowi.com> - 2019-06-14 20:56 +0200
    Re: Symfony 4/ / Doctrine - how to utilize third party entities? Arno Welzel <usenet@arnowelzel.de> - 2019-06-15 18:02 +0200
      Re: Symfony 4/ / Doctrine - how to utilize third party entities? Marek S <precz@spamowi.com> - 2019-06-15 23:11 +0200
        Re: Symfony 4/ / Doctrine - how to utilize third party entities? Arno Welzel <usenet@arnowelzel.de> - 2019-06-16 09:46 +0200

#17993 — Symfony 4/ / Doctrine - how to utilize third party entities?

FromMarek S <precz@spamowi.com>
Date2019-06-14 20:56 +0200
SubjectSymfony 4/ / Doctrine - how to utilize third party entities?
Message-ID<qe0qle$tmr$1@node1.news.atman.pl>
Hi all,

Assumptions:
1. PostgerSQL
2. Namespace "public" designed for Symfony / Doctrine entities.
3. Other namespaces contain third party tables/other objects which 
Doctrine will use but never change (creating/altering tables is not 
allowed but reading/writing is).

I would like to create entities via make:entity for (only) public 
schema. I also would like to create manually entities/repositories for 
third party tables They should be excluded from migrations :

doctrine:migrations:generate

...but fully functional for CRUD operations.

Is it possible?

-- 
Regards,
Marek

[toc] | [next] | [standalone]


#17996

FromArno Welzel <usenet@arnowelzel.de>
Date2019-06-15 18:02 +0200
Message-ID<gmkj4lFp3lrU2@mid.individual.net>
In reply to#17993
Marek S:

> Hi all,
> 
> Assumptions:
> 1. PostgerSQL
> 2. Namespace "public" designed for Symfony / Doctrine entities.
> 3. Other namespaces contain third party tables/other objects which 
> Doctrine will use but never change (creating/altering tables is not 
> allowed but reading/writing is).
> 
> I would like to create entities via make:entity for (only) public 
> schema. I also would like to create manually entities/repositories for 
> third party tables They should be excluded from migrations :
> 
> doctrine:migrations:generate

Usually it's easier to use doctrine:migrations:diff if you already have
a migrated database schema and just want to generate the SQL statements
to create the new entities.

And BTW: this is nothing to do with PHP itself - maybe you find more
answers in dedidacted Symfony forums.



-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#17998

FromMarek S <precz@spamowi.com>
Date2019-06-15 23:11 +0200
Message-ID<qe3mte$tjb$1@node2.news.atman.pl>
In reply to#17996
W dniu 2019-06-15 o 18:02, Arno Welzel pisze:
> 
> And BTW: this is nothing to do with PHP itself - maybe you find more
> answers in dedidacted Symfony forums.
> 

The Symfony advises Stack Overflow...
Generally, support for beginners is really poor. Official documentation 
doesn't answer even very basic questions. Hard to say where to go for help.

-- 
Pozdrawiam,
Marek

[toc] | [prev] | [next] | [standalone]


#18000

FromArno Welzel <usenet@arnowelzel.de>
Date2019-06-16 09:46 +0200
Message-ID<gmmaelF5ppmU1@mid.individual.net>
In reply to#17998
Marek S:

> W dniu 2019-06-15 o 18:02, Arno Welzel pisze:
>>
>> And BTW: this is nothing to do with PHP itself - maybe you find more
>> answers in dedidacted Symfony forums.
>>
> 
> The Symfony advises Stack Overflow...
> Generally, support for beginners is really poor. Official documentation 
> doesn't answer even very basic questions. Hard to say where to go for help.

I see. I'd expected, there is some kind of forum out there - but in fact
thre isn't:

The Symfony blog mentioned a forum in 2005:
<https://symfony.com/blog/the-forum-is-now-open>

But this page no longer exists:
<https://symfony.com/legacy/forum>

And another forum is now read only:
<https://forum.symfony-project.org/>

Maybe I should create one ;-).


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web