1

Our agency is currently using and maintaining the CMS we have developed in .net MVC on SQL server.

Since the cms is highly optimized and uses various cache tables to run very fast even with thousand of pages we want to keep it the same and use it for some php websites we will do in the next months.

In this condition you would consider making a API on the cms backend or create a php library that directly access the sql server to obtain better performance?

asked Dec 13, 2016 at 13:25
1
  • 2
    There isn't enough specific information here to make your question answerable. Commented Dec 13, 2016 at 14:45

1 Answer 1

1

I'd create API to be used from the PHP websites. The CMS caches are managed by the .NET application, and you don't won't to rewrite how to manage them again in PHP.

It'd be lot easier to export the same .net Model with API rather than creating another one.

You also will get a cleaner separation between your Model and Controller in on the PHP side because the API will practically be the Model.

answered Dec 14, 2016 at 6:55

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.