English 中文(简体)
如果我想要从重罪1.4改为2.0,是否有任何法典移徙方法?
原标题:Are there any code migration method(s) if I want to change from symfony 1.4 to 2.0?

看来,同义词2终于稳定(如果我错过错,我就会把我的项目从1.4个转到2.0个)。

我检查了Agogle和Symfony.com,但没有发现这个问题。 我猜测,框架如此深入地重写,没有自动化工具可以处理。

任何想法或准则?

最佳回答

你的猜测是正确的,没有能够将你的1.4个项目转换到2.0的自动化工具,因为框架的结构尽管当然仍然与1.X版本有很大不同。

参看Symfony2 Cookbook

此外,铭记的是,地名2要求PHP 5.3.2或更高。

我的建议是,如果你的项目完成并运行在Sefony1.4中,那么这些项目就会被罚款,开始学习。

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签