Hi guys
We’re about to begin a development for a company that has 3+ stores. We’re going to code the whole system with codeIgniter. A little ERP
We are now in design stage, and need to build the infrastructure
We’ve done 2 approachs:
1) Everything stored in a dedicated server
Please See Design
http://i28.tinypic.com/15waza0.jpg
The application is stored in a dedicated server. Each store has an internet connection. They login into the system and do the everyday work.
Pros:
Everything is stored in 1 place
Store X owner “can’t” steal our sourceCode
Cons:
If internet link at store X goes off, they can’t work
2) Each store has its own server
Please See Design
http://i32.tinypic.com/2duiiif.jpg
The application is stored in each store. Each store has a little LAMP server. They work with the application, and they sync the info with central store, using internet, every night.
Pros:
System’s users can work without worrying about internet connection dropping
Cons:
Our app can be easily copied/cloned into a new store without our permission
____________________________
Now my questions are
1) What do you think of each approach? Which one would be better? Having into account that internet service is (and will be) very poor and drops freq.
2) Which advise would you give me in case we choose approach 2, so our client can’t hire a guy to steal our app and clone it in a new store? I mean, how to protect each lamp, so in case code is moved, it doesn’t work in a new store (without our permission)
3) Any other thoughts?
I’d love to hear your comments. Thanks a lot in advance,