Sign in to follow this  
KieronWiltshire

Why the separation of server/client side scripts?

Recommended Posts

I'm curious as to why server/client side scripts are separated from one another. It seems rather strange to me to have a login script structured something like this:

 

-> packages

           | -> coolLoginScript

-> client_packages

           | -> coolLoginScript

 

would it not make sense to do something like:

 

-> resources

              | -> coolLoginScript

                               | -> client

                               | -> server

 

or maybe? instead of "resources" use the standard "node_packages"

Edited by KieronWiltshire

Share this post


Link to post
Share on other sites

Well maybe you'd want different script client side and server side.
For example, for me all the condition are mostly server-side. and the client side script are mostly functions and procedures only.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.