Hi Sander Elias,

and thanks for your swift response and the info.

That sounds kind of worrisome to be honest. I started out using 
https://www.npmjs.com/package/node-mssql at the beginning of my project 
which was no good due to some other issue (I was told that the server specs 
were too weak to be able to run the SQL query for each user request - which 
is part of that library setup - in the far future as the statistical data 
would increase exponentially in the years to come and hundreds of users 
potentially would access the system simultaneously) and had to find an 
alternative which turned out to be typeorm.

Considering your input and this new information on the limits within the 
CLI I'd say, that it looks like as if I have to repeat the process all over 
again which is frustrating at best. But I guess it's part of the learning 
process and there's nothing really I can do about it now. However, I'd like 
to 'damage-control' this as much as possible in order to minimize waste of 
time and efforts. So if you don't mind, could you post here about your way 
of doing things in a more detailed and elaborate way? For instance is there 
a good tutorial on this? Do you have your own way of doing things? If so, 
how would I proceed? What are the steps?

You were mentioning something about *swagger *which I am unfamiliar with. 
Are we talking about this particular library here 
https://www.npmjs.com/package/swagger as I found multiple libraries 
containing that name. I had a quick look at the documentation and am 
wondering about a couple of things. Does this library work with the Angular 
CLI? Would/could I run it from within the Angular 7 project as in does it 
have to be included into it? Is there compatibility? Need for 
packaging/bundling and importing it afterwards into the same in order to 
make things work?

To answer your question about paid support. Unfortunately, I am doing an 
unpaid internship in the public sector at the moment and there is no budget 
here either. That means that it's essentially me and the internet which 
makes this all the more frustrating.

As a note on the side..., the person writing this blog 
https://hackernoon.com/from-typeorm-to-loopback-a-retrospective-188ea18527a2 
that 
I linked to in my initial post mentioned *LoopBack* as an alternative 
library to work with Angular (I am pretty sure his Angular version was 
prior to Angular 7 but nevertheless). Do you or has anybody else insight 
into or experience with this particular solution?

Looking forward to your response.

Thanks again for the heads up.




torsdag den 13. december 2018 kl. 18.04.17 UTC+1 skrev Sander Elias:
>
> Hi Di,
>
> I just checked out typeOrm. Looks nice but the way it is built will 
> conflict with the angular configuration that is provided with the CLI. 
> While it might be possible to hack a way around this, it will bite every 
> time you want/need to update one or the other.
> So the option to buy paid for support by the maintainer might be the only 
> maintainable way out.
> If that's not an option you should consider moving to something else.
>
> I never liked any of the ORM's they usually just get into my way. What I 
> do myself lately is run swagger on my server, and generate interfaces, and 
> validation function from there. Also, a default function that provides an 
> 'empty' record is there. The entire system is free of classes, and clutter.
>
> Regards
> Sander
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to