Hey everyone, I’m working on a web app that needs to work across different browsers and be deployable on both Windows and Linux servers. I’m thinking about using JQuery for the front-end and creating two separate back-ends, one in Java and another in C#.
My plan is to have the client-side code make AJAX calls with JSON to communicate with the server-side MVC frameworks (ASP.NET MVC for C# and Struts for Java).
I’m not sure if this is the best approach though. Does anyone have experience with a similar setup? Are there any potential issues I should be aware of? Or maybe there are better alternatives I haven’t considered?
I’d really appreciate any advice or suggestions from those who’ve tackled similar challenges. Thanks in advance for your help!
hey there! that’s an interesting approach. have you considered using a single backend language with a cross-platform framework instead? something like node.js might simplify things. also, for the frontend, have you looked into more modern frameworks like React or Vue? they could offer better performance and maintainability than jQuery. what’s your main reason for choosing jQuery?
hey, i’ve done similar projects. two backends can get messy. maybe try .net core for a unified app across win and linux. also, newer frontend frameworks like angular or vue might be better than jquery.
While your approach could work, it might lead to unnecessary complexity and maintenance overhead. Consider adopting a more modern stack for both front-end and back-end. For the front-end, React or Vue offer better performance and maintainability compared to jQuery. On the back-end, Node.js with Express or .NET Core can provide cross-platform compatibility without the need for dual implementations. This unified approach can significantly streamline development, reduce code duplication, and simplify deployment processes. Additionally, using a RESTful API design pattern can ensure consistent communication between your front-end and back-end, regardless of the platform. Remember to factor in long-term maintainability and scalability when making your architectural decisions.