Skip to content

Separate admin from front-end #476

Open
@thomporter

Description

@thomporter

Interesting thought I had while mulling over #472 in my mind... I've actually always kept my admin code separate from front end, and for Agnular that's meant building 2 sets of files, one for front, one for admin (keeps the front-end's file size down and in some cases keeps from exposing sensitive biz logic in the JavaScript to the public.) So typically I'd have "app.js" and "vendor.js" for the front-end and then "admin.js" and "admin-vendor.js" for the admin.

How do you all feel about separating the admin & front-end code, so that the client's app.js is free of any admin code or it's dependencies, and then there could be "admin.js" and "admin-vendor.js" files for the admin. I don't think this would be hard to implement, I'd be happy to take a crack.

Footnote:
At the moment I have a project I built w/ this generator that I actually created 2 separate projects for, "front" and "admin" (running on separate sub-domains.) They even use independent APIs (I did symlink the model files.) This has worked great for me, though I'm not sure it would be to everyone's fancy.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions