Hack back to php [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I was looking at the hack language of Facebook but I have a server running several php sites.
Now I was wondering if there is a tool that can convert hack back to php, so it can be run it on my server but I can develop in hack?

Hack is neither a subset nor a superset of PHP -- we've been calling it a "dialect". While writing a tool to convert many (but not all!) features from Hack to PHP might be possible right now, we don't believe it to be a good idea. This thread has some discussion and elaboration on why: https://github.com/facebook/hhvm/issues/2236 (Super short summary: you really want the runtime to be enforcing your type annotations.)
As that thread says, we do want a better PHP conversion story than we have right now, particularly for frameworks that don't want to convert over to Hack wholesale (since they'd lose most of their users/customers :)). We don't have anything yet, but have some ideas we haven't gotten around to working on yet.

Related

Open Source[in php] Tool Which can convert XML into UML Diagrams? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I had already searched on Github and SourceForge, but these keywords are so much used that i could not find any relevant result , specially on sourceForge.
I want to know if there is any Open Source tool written in php for converting XML in UML diagrams.
I dont want support for all UML diagrams , my main focus in Class diagrams.
Why i want this software?
I am developing a tool for extending UML diagrams, in order to inject security constrains at the time of designing system(UML creating). So, if i can get a open source written in php for converting xml into php than, it will save a lot of time.
i am developing it in PHP so that it can be provided as a web service to all.
This question was never asked on SO(particularly for soucecode in php) , it will help others to find quick answer(whether any such tool exist or not), Converting XML to UML is a common topic.
Maybe try to convert your xml to php-classes with this : https://github.com/moyarada/XSD-to-PHP and than use php_uml (http://pear.php.net/package/PHP_UML/) from pear.
Never tryd one of this tools, but maybe you got it work.

Obfuscate PHP code (prevent source code viewing) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm working on a PHP project using a PHP framework which i would like sell.
Someone wants to test the code on their server first.
I do not want to give away the source.
So is it possible to obfuscate the code?
Or may be compile it?
My primary objective is, they should not be able to just take the code, once it is on their server and cheat me. Also I do not want them to handover the code to another developer and get it reverse engineered or changed.
I'm looking for a free solution if possible.
You can use Zend Guard to do the same so that it will encrypt your whole code and will compile it so that no one can use your source code. it works same as we do in JAVA as it create byte code in class files.
Go through this link Zend Guard
Zend Guard, the most widely accepted PHP encoding and obfuscation product on the market
it will do following tasks for you:
Prevent reverse engineering & unauthorized modifications
Protect your code from unauthorized use

Write-ups/Tutorials on PHP for ASP.NET developers? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
There's a good 2-part series on ASP.NET for PHP Developers on http://net.tutsplus.com which is the opposite of what I'm looking for.
Is anyone familiar with something similar going the other direction, PHP for ASP.NET developers?
I know there is lots of information out there for PHP but I like the format for the article above.
This isn't exactly an answer, but worth noting. I've found that looking at source code for existing projects can be a valuable resource. To that end, try CakePHP, Drupal, or even Wordpress. I'm partial to Cake, myself, so maybe try reading this article which answers the question of WHY, oh why, you'd tinker with existing/working code :)

Are there any recommended tools for beautifying PHP/HTML? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does anyone know of a good tool for cleaning up/formatting PHP files? I'd need something that can handle HTML with < ?php ?> tags, as well as pure PHP files. Ideally, I'd like a Maven mojo, since the rest of my code is being generated by Maven already.
Haven't worked with php for a while now, but I remembered using PHP Beautifier
I haven't really found any completely satisfactory solution yet, but I'm comparing several options, now. I'll be documenting my progress on my blog, if anyone's interested in the future.

Parse Fast Infoset documents in PHP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is there a library which allows PHP to decode application/fastinfoset binary XML?
As far as I know, there's no PHP-library that does this. Can you hack around this by creating a tiny java-program that decodes/transforms the FI and call this from PHP?
I know this is a less-than-ideal solution, but this does seem to be uncharted territory.
https://fi.dev.java.net/how-to-use.html has some java-examples on how to handle FI.
As for bridging PHP and Java;
http://sourceforge.net/projects/php-java-bridge is supposedly good (though, site is down when I try),
http://www.php.net/manual/en/book.java.php also have som information on integrating Java and PHP.
Alternatively, you can use probably use webservice or messaging to communicate between PHP and Java. (This is probably obvious.)

Categories