Transitioning from Coldfusion to PHP [closed] - php

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am getting ready to learn PHP. I am looking for advice from other ColdFusion developers out there who have made the transition. I'm also looking for a guide showing some tag equivalencies (fingers crossed). Thanks!

Not sure why you just accepted a terribly biased answer like Best solution: stick with ColdFusion or Railo :) from ColdFusion is just better.
However, if you are looking at an idea of commands I would say start by looking at some common string / functions in php by going through things that might matter to you like:
arrays (http://us.php.net/manual/en/function.array.php)
strings (http://us.php.net/manual/en/function.echo.php)
You could also look at some frameworks (MVC - similar to coldfusion MVC frameworks):
CodeIgniter (http://codeigniter.com)
CakePHP (http://cakephp.org/)
Hope that helps, rather than give a blatantly one sided answer.
There are large differences between CF & PHP however both are beginner friendly (from my perspective) and offer great documentation.

Related

What to know in php to translate in node.js? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I m pretty new to php (not ignorant, but I never did any real project with it). And I have been assigned to translate some php file (some are 1kSLOC) in node.js.
Where can I find a quick start on PHP, I have tried tutorial, but I just need to understand what s going on, not the reason behind, and searching and reading PHP API is quite slow.
EDIT:
It seems I ve been misunderstood, I m not searching to learn php on scratch, I know the basics behind it, I just need something to quickly recall me of the syntax.
This is a good example of what I m searching for the operator
There won't be a silver bullet tutorial describing how to translate custom code.
If you're not familiar with PHP, you'll need to go line by line and interpret the code with the aid of the PHP Documentation.
Once you've done this, refactor in node.js.
In the end, they're both scripting languages. As such, most of the language constructs (conditionals, loops, etc) are the same.

Looking for a plugin to create floor plan [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am looking to create a website in which I want to give users an option to create the floor plan of their house. I am looking to replicate something like http://floorplanner.com/demo#assets .
I tried to do code it with jqueryui, but found it very hard as I am not a programmer by profession.
Is anyone aware of an open source plugin that I can use in my website to create a similar tool. I searched the net for same (javascript and flash plugins) but did not get what I was looking for. I am not looking for an ideal solution, rather anything that will make it easier for me to make a final product.
Thanks,
SY
Concerning Javascript/HTML5 approach, probably the best way to solve this problem nowadays would be to make use of some HTML5 canvas library like:
- http://www.kineticjs.com/
- http://fabricjs.com/
or SVG library like Raphael.js:
- http://raphaeljs.com/
However, this is a complex problem and you'll hardly make a good and scalable solution without deeper understanding of Javascript programming.
Take a look at a similar thread, might help you.
SVG/Canvas vs Flash for FloorPlanner app

What do you use to document site procedures, infrastructure and code? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm looking at http://www.phpdoc.org/, but wondering what you guys have found useful. I'm wanting something that will help document our code, but also procedures and tasks that are performed frequently on the site. What's the best solution for this in a linux/PHP/MySQL environment?
PHPDoc is the way to go.
You will have:
Self-generated documentation files;
Contextual function docs on the editors that support it (a lot of them);
An easy way to check if your documentation is up to date (you'll see the docblocks every time you use a function/method; DOCS folders are usually doomed to oblivion - you only look at them if you didn't work on a project for a while, and at that point they will almost automatically be obsolete);
Since I guess you will use docblocks anyway, it does not make huge amounts of sense to have to mantain a separate docs folder.
A DOCS folder you have under version control. For dashboard archiving, I find photos useful.
phpdoc is just for documenting code. It's not meant to document architecture. You can use UML for that.

Why "not" Google App Engine? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
I've heard of GAE and even though it doesn't support PHP, people have gotten around this limitation by using Quercus I think (I haven't tried it, but supposedly it works). But what factors should I consider when evaluating whether it's a match for me? For example, what made you not go with GAE? Or if you went with it, what are you not happy about?
thanks
Edit:
Thanks to those who saw value in the question and defended it. I've seen questions here that were much less programming-related than mine and which were left open. In terms of it being a dupe, it isn't in anyway. That other question was specifically about PHP support; mine is about why not GAE in general (the php was a sidenote). I doubt the guy that yelled "dupe" even read both questions to see how mine is obviously so much different. You can vote it reopened if you still see value in it. Some good answers were already coming in, too bad the 5 of you killed a Perfectly Good Thing. I voted for a reopen, 4 more people could hop on if interested.
Because GAE is less flexible and tightly coupled to Google's framework.

Symfony VS CakePHP : which one is closest to PHP [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm mostly a Rails developer but sometimes, I have to code in PHP. Because stackoverflow.com prefers questions that can be answered, I'd like to have a idea which one of the two is closest to PHP?
Sometimes, I'm under the impression that CakePHP is a outdated copy of Rails that wants to look like Ruby but fails at it and thus leaving the best of PHP behind.
there are loads of questions dealing with the php framework issue.
for example:
php-framework-decision-analysis-paralysis
what-php-framework-would-you-choose-for-a-new-application-and-why
which-php-framework-is-closest-to-ruby-on-rails-cakephp-codeigniter
I don't think this question will bring anything new to light.
besides I think the framework of choice is more and more Zend Framework (IMHO).
How would you define closeness?
All frameworks are written in 100% PHP, non of them could be any closer to PHP. They are PHP.
I like symfony because it doesn't have PHP4 compatibility as a business goal. This lets the framework ditch some of the cruft and limitations of PHP4 and leverages the much stronger OOP in PHP5.

Categories