On the flip side of things, there are dozens of examples of different ways PHP can interact with other PHP pages on different servers, while briefly stating that it’s possible to make interact PHP with other non-PHP scripts as well. Hopefully this article has demonstrated that this is possible and that two different types of technologies can indeed work together.
Some may argue, why mix the 2 types of languages in the first place? Doesn’t it make sense just to use JSP/Servlets with J2ME? Well yes, I have to agree, if you are going to start a project from scratch (as mentioned above), then this situation is most likely to arise when supporting already existing systems where the existing system may already be written in PHP and not JSP/Servlets. You should always keep an open mind when using technology. Given the circumstances, you should always use what is best for each situation.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |