Re: [Mojolicious] Best practices for embedding a javascript app in a Mojo app.

2019-11-07 Thread Alberto Mijares
Thank you. You made me think better.

Regards,


Alberto Mijares


On Thu, Nov 7, 2019 at 11:54 AM Dan Book  wrote:
>
> It's really just an organizational question. You can easily have the 
> javascript and the API as two separate projects and design them to work 
> independently, or as the same project so you can more easily coordinate 
> changes between them. In either case something will need to serve the 
> javascript files from the back-end as well.
>
> -Dan
>
> On Thu, Nov 7, 2019 at 10:51 AM Alberto Mijares  wrote:
>>
>> Hi guys,
>>
>> I need to write an API with its front-end in javascript. There's a
>> node module I can install with npm that would be very helpful. Is it a
>> good practice to have both projects in the same tree? Should I have
>> separated projects?
>>
>> I never had to deal with frontend development before, so I have no
>> idea how to do it following best practices.
>>
>> Thanks in advance.
>>
>> Regards,
>>
>>
>> Alberto Mijares
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Mojolicious" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to mojolicious+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/mojolicious/CAGZBXN-0yS%2Bi7AjH06DsS76b3AzB%3DqykyGTwXiXunLNySa6kAg%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to mojolicious+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mojolicious/CABMkAVVA9aN1utzpKTGoHm8fA5SOC7aSPsqLr1AUXquYzTTdbw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/CAGZBXN_vwySN5uvtV07pjJFvR53jAB9hQ%3DA7432%3DFwekE%3DpjOg%40mail.gmail.com.


Re: [Mojolicious] Best practices for embedding a javascript app in a Mojo app.

2019-11-07 Thread Dan Book
It's really just an organizational question. You can easily have the
javascript and the API as two separate projects and design them to work
independently, or as the same project so you can more easily coordinate
changes between them. In either case something will need to serve the
javascript files from the back-end as well.

-Dan

On Thu, Nov 7, 2019 at 10:51 AM Alberto Mijares  wrote:

> Hi guys,
>
> I need to write an API with its front-end in javascript. There's a
> node module I can install with npm that would be very helpful. Is it a
> good practice to have both projects in the same tree? Should I have
> separated projects?
>
> I never had to deal with frontend development before, so I have no
> idea how to do it following best practices.
>
> Thanks in advance.
>
> Regards,
>
>
> Alberto Mijares
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mojolicious+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mojolicious/CAGZBXN-0yS%2Bi7AjH06DsS76b3AzB%3DqykyGTwXiXunLNySa6kAg%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/CABMkAVVA9aN1utzpKTGoHm8fA5SOC7aSPsqLr1AUXquYzTTdbw%40mail.gmail.com.


[Mojolicious] Best practices for embedding a javascript app in a Mojo app.

2019-11-07 Thread Alberto Mijares
Hi guys,

I need to write an API with its front-end in javascript. There's a
node module I can install with npm that would be very helpful. Is it a
good practice to have both projects in the same tree? Should I have
separated projects?

I never had to deal with frontend development before, so I have no
idea how to do it following best practices.

Thanks in advance.

Regards,


Alberto Mijares

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/CAGZBXN-0yS%2Bi7AjH06DsS76b3AzB%3DqykyGTwXiXunLNySa6kAg%40mail.gmail.com.