Migrating Off Zend Server - php

We have a customer with an existing PHP app running on Zend server. Don't have a lot more info yet, about what version of the server it is, but there is not a lot of documentation and no way to talk to the original devs.
It looks like it runs on the old community edition of Zend, and there is no such thing anymore. We are going to move them to AWS for hosting. We have zero experience with Zend. How difficult would it be to migrate off Zend? As I understand it, they have their own framework, so I'm assuming we would have to rewrite a bunch of code to another framework, or not use a framework, and rewrite to that. Originally we were thinking this would be a simple migration, but I'm not so sure that will be the case now. If anyone has any thoughts on migrating the CE of Zend along with the code, that would be great, as well.
I'm going to be reviewing the code shortly. Are there any things I should look for that would indicate how deeply they are using the framework now, that I'll have to think about converting?

Related

Migrating from fusebox ColdFusion to PHP

I am currently working on converting a ColdFusion website, using Fusebox framework, to PHP. The site contains like 20,000 lines of ColdFusion code. My dilemma is, should I switch to Fusebox-PHP (as it will be easier to migrate the project layout) or a robust and popular framework like Symfony or Zend.
Can anyone suggest a few points in favor or against the three options?
migrate to Fusebox-PHP
migrate to Zend
migrate to Symfony
Fusebox has been abandoned for a variety of issues (legal issues amongst them iirc). As long as you are rewriting it into PHP you might as well switch to a more current framework. Sure, you will have to learn how to do the same things a new way, but on the bright side you will have gained experience with a popular framework!
Ultimately Fusebox is dead and it would be unwise to use it (unless you were doing something turn-key like just migrating to Railo)
My opinion is that Fusebox is an old framework that is not only not that popular with ColdFusion any more, but never really took off in the PHP world.
I would either find a new framework or do without the framework depending on the complexity of the site, there are many good PHP frameworks out there.
Looks like the last release for PHP was 7 years ago in 2005

Zend Framework PHP Solutions

Hello my fellow Stackoverflownians :),
I just came across this thing called Zend. And it looks pretty cool and i wanna get my hands on it, but I have a question. So if anybody knows anythin about Zend, I would really appreciate your advice.
I am using Winhost as my hosting provider (http://www.winhost.com/) and they are a Windows Hoster, but they also include PHP hosting aswell in their windows packages.
Can Zend be used with WinHost? Or does Zend only work on one of those server apps that you download like Apache or Apremlium etc?
From what I have found its beginning to look likle I cant use it with winhost.
Thank you
If you're able to use php on your host, you can use zend framework. That's all it is.
Also, if you think Zend is cool, make sure and take a look at codeigniter. I've used them both a little, and they both have their advantages.

Running CodeIgniter on Zend Server Community Edition

I am just wondering if I could run CodeIgniter applications on Zend Server Community Edition without any issues.
I don't want to mess everything up by experimenting. Please let me know if you have faced any problems running CI on ZendServer CE.
Thanks
Zend Server isn't really a server. It's just a preconfigured PHP installation for Apache/IIS. When deploying a Zend Framework application, you have to include the Zend Framework libraries along with your application as if you were deploying it on a regular Apache/PHP server.
You can treat it as a stock installation of PHP.
I don't know enough about Zend Server to say for sure (e.g. I've seen someone manage to wedge CI into Joomla before), and while I'm sure it's possible, I imagine it would require a lot of tinkering. What you can do is pick and choose your favorite bits of CI or Zend and reuse the code as libraries. Are you being forced to use Zend but would prefer to use CI? If that's the case, I feel for you, but I'm not sure the best solution is to use two entire frameworks with all the overhead that comes with them...it would probably end up being really unwieldy.

Migrating custom coded/developed php project to CAKE php framework

My client wants to Migrating their custom developed php project to cake php framework. But, as of now i have only a bit of knowledge in CAKE. can anyone please let me know where do i get started CAKE php. i have already installed CAKE in my system
Where do you get started? Probably on the CakePHP website?
Seriously, watch some screencasts, download some example apps and mess around with them.
CakePHP has a sweet steep learning curve. I recommend to go with the new 1.3 version.
It is easy to start with the CakePHP Book and the API documentation. When in doubt, just look into the source code, it's all just PHP! Google should be also a good friend of yours. However CakePHP is "just" a programming framework, you must know PHP, ORM, MVC and similar concepts in advance.

Website Development Problem CakePHP, WordPress or Start From Scratch?

I'm in the process of starting a new web site that is something like stackoverflow but a little bit more different along with making the members profiles highly more customizable I was thinking of building it from scratch using PHP, but was thinking of using CakePHP, but then I thought WordPress sounded better but I remember working with wordpress and it was a little bit slow at times when you tried to browse the web site.
So what I guess I'm trying to ask is that should I design the site from scratch? And I heard techcrunch.com and 9rules.com are completely done in WordPress, is this true?
Wordpress is a blogging engine, which is a specialised kind of CMS. It's not suitable for building something like Stack Overflow on.
CakePHP on the other hand is a framework - something to help you build a website so you're not starting from scratch. This would be a good bet.
For other PHP frameworks check these questions:
What PHP framework would you choose for a new application and why?
PHP Framework Decision - Analysis paralysis!
Be sure to check other frameworks too. CakePHP is a framework which makes a lot of choices for you. If your application fits in it probably works like a charm, but otherwise a framework can be a huge pain. Zend Framework has a lot more flexibility, but it also takes a lot more time to bootstrap your project. In the end it is all about personal preferences, so I would recommend you to just try some frameworks and find out how it feels for you.
Some frameworks:
Zend Framework
Symfony
CodeIgniter or it's successor Kohana
Wordpress isn't slow, if get decent web hosting and know how to tune a webserver. But no, it won't really suffice for this. FastCGI on a threaded webserver with enough memory to cover peak traffic is the way to go.
Drupal (and maybe Plone) could probably do what you want without coding, but you'd still have to learn a lot, so you might not gain much over just coding the thing.
Using wordpress or joomla or any other framework will require enormous emounts of custimization of the framework to meet your ends. If you are not very comfortable with using those frameworks and how they are built, you are probably better off writing by hand, and maybe develop your own framework that suits your own needs.
Hand code the novel aspects of your site first without concern for the final product. You goal should be to find what you really need and how you are going to need them. For instance, if you need a blog for the staff, then you can install WordPress and move on to the next problem (your branding can be duplicated to a WordPress theme).
If existing software solves the problem, then version 1.0 should be a Frankenstein solution (which sucks aesthetically). The idea is to map out the incongruities between the various problems you are trying to solve so that when you do rewrite everything you do not produce the same problems.
Ideally, you will spend most of your time adding value to what you need that is novel about the site.

Categories