|
|
|
|
|
by beefbroccoli
2246 days ago
|
|
> Try to push as much logic as possible to the server. If the front end weren’t super complex, I would consider something like Phoenix instead which actually pushes everything to the server. Sometimes you don't have or don't want a server, but still want to avoid the issue of wedding business logic to the UI. With web apps my strategy is to treat business logic as a separate library housed in the same project. I'll have a "SomeBusiness" directory and just import it across the project like I would a third party library. |
|