Transitioning from Java/JSP (spring, struts, hibernate) to PHP (symfony).
- From: Daniel Pitts <newsgroup.nospam@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 07 May 2012 11:37:10 -0700
I've been told we are changing our platform from one based in Java to one based in PHP. I consider myself expert in Java and OOP, and I'm a little concerned about the transition to PHP. Personally, I'm in a position where I can remove myself from the code-base (I'm starting to be in more of a management position). However, I have always liked to know the details of what is being worked on.
What are the best resources for an expert programmer (with many different languages, idioms, and philosophies under his belt), to learn "clean" PHP. Is developing in "pure" PHP significantly different than developing in symfony.
Also, a few concerns I have are related to performance. One of the things our current architecture does is make multiple parallel HTTP requests to XML based APIs that provide the data. I know PHP doesn't exactly support concurrency like this, but I'm wondering if there is some other way to manage this kind of process. It is easier in Java to create many worker threads that each make a HTTP request, but I can imagine in PHP doing something with a bunch of async IO and select calls. Is that feasible? Is there something already created for this?
What other tips do people have for performance and scalability? Many of our applications serve more than 3 million requests per day, and we have many applications. I'd estimate our current platform as a whole serves 300-500 sustained requests per second.
Thanks in advance for any advice.
- Prev by Date: Re: Windows binaries 64bit for PHP
- Next by Date: Re: Transitioning from Java/JSP (spring, struts, hibernate) to PHP (symfony).
- Previous by thread: Stats comp.lang.php (last 7 days)
- Next by thread: Re: Transitioning from Java/JSP (spring, struts, hibernate) to PHP (symfony).