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 8 years ago.
Improve this question
According to the Getting Started with Storm book from O'Reilly:
There is a way to specify topologies in a non-JVM language. Since Storm topologies are just Thrift structures, and Nimbus is a Thrift daemon, you can create and submit topologies in any language you want. But this it out of the scope of this book.
I know the book is a little outdated, but I'm hoping this tidbit is possible.
Is there a way to submit a pure PHP Storm Topology?
From the documentation it says (as one of the key properties of storm)
Programming language agnostic: Robust and scalable realtime processing
shouldn't be limited to a single platform. Storm topologies and
processing components can be defined in any language, making Storm
accessible to nearly anyone.
You can probably look here for similar things.
Closest documentation of this that I've found:
https://github.com/nathanmarz/storm/wiki/Using-non-JVM-languages-with-Storm
It mentions where to get started. I guess I just have to do more research on this.
Related
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 8 years ago.
Improve this question
I am new to AI development and looking for some guide line to start. I'm a php developer and if any one have experience AI developing in PHP, please help. Prefers AI related libraries and etc...
To develop AI applications, PHP seems not to be the best choice. It is a script language intended to create websites etc., not to, e.g., steer a robot. Of course you can use PHP to learn some concepts, but it makes sense to switch as soon as you want to create "serious" applications related to this topic.
To get into the topic, I recommend the Udacity course "Intro to Articial Intelligence", see https://www.udacity.com/course/cs271 - it is absolutly free to take this courses.
AI is not a simple topic, but it is very interesting. Good luck and have fun!
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 have looked at languages such as PHP, Python, Ruby and Skala. However, I haven't found any language that meets the requirement below:
I'm looking for a language that is lax enough to quickly write a web application prototype with (without bothering with best practices), but is also sophisticated enough to support me when trying to "refactor to design patterns".
Is there a language/web framework specifically created for this purpose? An example would be PHP, optionally acting like Java if the developer requires it.
Refactoring bad code "to design patterns" has nothing to do with the language's sophistication.
You can really try any of the mentioned languages and see which one is the easiest for you to learn, you can't go wrong with any of them.
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.
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 8 years ago.
Improve this question
I am working on a news paper website which has epaper facility. I am developing it in php.
Is there any script or something else where I can learn how to make an epaper site.
I want solution like this http://epaper.timesofindia.com/Default/Client.asp?Daily=TOIM&showST=true&login=default&pub=TOI&Enter=true&Skin=TOINEW&AW=1333084145015
Please help me out..
ePaper in your context is a web app developed by Pressmart, and it appears to be proprietary, or at the very least not developer-friendly. So I highly doubt there have been advances in PHP libraries for it.
I'm sure as a partner, they have internal documentation and tech support that you can request more information from. They may even have a web API with PHP examples (I've seen worse companies that knew they had to keep up).
This is all info I've gathered in the last 7 minutes, so there may be more out there. But you should always reach out to the developer support of the product if they don't have easy access to documentation, as this is a sure-sign that there is not a large population of developers in the general community that will know what you're talking about, let along give insight.
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.