strongly typed php alternative [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've been programming in PHP for several years now, but I also have some experience in other languages like java, c++, c# etc. I think PHP is a good language for web development, but I really miss some features from the other languages, mostly that PHP is weak typed, and real (operator) overloading is not possible. So now I'm looking for an alternative. I've already tried asp.net (c# mvc), and I really liked that language, but it is windows only, and I want a language which can run on linux based systems.
So do you have any suggestions? I want:
a strongly typed language
good mysql support
function overloading (preferably even operator overloading)
OOP
useful for web development

You may want to check out this similar question. Python seems to be highly recommended in the answers and satisfies all of your criteria except function overloading unfortunately. That said Java and C# both sound a lot like what you may be looking for, and can both be run on linux based systems.
The Django Framework is a python based web development framework that should let you develop web sites using Python if you choose that route.

I know this is an old question, but if you liked C# and ASP.NET MVC maybe you should look at Mono.

Try Haxe. It has a very strong typing and can be compiled to other languages, for example to PHP, so you have all the power of strong typing and flexibility to deploy it to any cheap PHP-driven hosting.

Well, if you like C++, and can write portable code(code that works between Linux and Windows) then you may look at one of the many C++ web frameworks.
Personally though, I couldn't imagine such a large amount of string manipulation in C++ :P

Related

Certification in PHP and SEO [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
Can anyone please guide me which kind of certifications are available for php and seo? I am a php developer as well as a Lecturer. And i want to teach and guide my students. I know symfony and wordpress. But other then this what kind of certification is in demand in current/future market. I am ready to learn new technology even.
No certifications are or should be needed. As for new tech, node.js is very used right now in the market. If you're a javascript developer and want to learn node.js, you will have a very easy time. Note that node.js is commonly used with nosql databases, such as mongodb, couchdb and quite a few more.
If you haven't tried those technologies, it might be a good time to start learning/using/mastering them. Also, I recommend you start using git if you haven't. You can do wonders with git.
If you work as a front-end developer once in a while, I extremely urge you to get right on Grunt.js, since Grunt is extremely useful for a numerous tasks in front end, and it can at some extent, be used for backend, including some php tasks.
NodeJS website: http://nodejs.org/
mongodb website: http://www.mongodb.org/
couchdb website: http://couchdb.apache.org/
git website: http://git-scm.com/
grunt website: http://gruntjs.com/
I think that's enough for you to get busy for a while. Hope it helps.
Personally I don't think any certification is needed, especially in the programming industry (even for lecturesr). It's more important to show that you have been involved with important projects. Working experience with bigger companies or open-source projects will prove your expertise.
With that being said, there is one from W3C:
http://www.w3schools.com/cert/cert_php.asp
Another one is mentioned by Zarazthuzatra, ZCE:
http://www.zend.com/en/services/certification/

Web service API - which language is better? [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 8 months ago.
Improve this question
I wrote a web service API which services REST requests in php. It didn't take much time to actually setup this on apache. But, I am more comfortable writing python code rather than php code. Can python be used as a server-side scripting language like php? What changes are necessary to make it work with apache?
Thanks
Bala Mudiam
For a REST full API I would suggest that you take a look at Tornado. It's what Facebook uses. It's fast, efficient and easy to work with (written i Python). You may use nginx as a proxy in front of it to server static content and allow more Tornado services for scaling.
Python is a very capable server-side language. Large sites (such as AG Interactive) use Python for server-side programming and have had great results. mod_python and mod_wsgi are 2 popular modules for Apache that allow you to serve Python.
Yes Python can be used as server-side language (as well as Perl, Ruby or even C/C++). Just use mod_python for Apache http://www.modpython.org/
I'll dare to say that mod_wsgi is probably closer to the de-facto choice (vs. mod_python) if you're stuck with Apache as your web server these days. One benefit is that you'll find a wide range of active frameworks and libraries that are WSGI compatible. Please don't read too deeply into "framework" - some things I'd lump in there are quite minimal, providing a few nice conveniences on top of raw WSGI to help you organize your code. Imagining that you're not looking to invest into a web framework itself just to get a REST interface up, you might check out restish as an option.
In my opinion python which is a popular language is better.

Is there a book on php for socket programming? [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
I already have some experience with Java and a bit with C/C++, I'd like to learn PHP now. I want to make some applications with sockets, which I already understand a bit of. However, it seems most books focus on PHP for web development, whereas I'm more interested in it as a general purpose programming language.
Am I "doing it wrong" or is PHP viable as am I hoping it to be? if it is, are there any good books on the subject?
Having written web spiders and other command-line based scripts before in PHP, I can tell you that PHP is a viable option for a general purpose programming language.
The reason most of the books are web-oriented is because PHP is designed to be a web programming language (its name, after all, is the "PHP Hypertext Preprocessor"). Your best bet for "general purpose" use of the language would be to make heavy use of the PHP Manual, including the comments (there are a lot of good comments that include examples or links to various things that will be helpful).
The PHP manual has a whole section dedicated to command line use, and another section on the use of sockets.
Other than the manual, Google is your friend.
Find a good book on sockets that is geared toward unix C/C++, as there is considerable cross-over between C and PHP.
It won't help you if you want to write a multithreaded server, or a server that even forks for each connection, but to get an understanding of sockets that can apply to php this may be your best bet.
While PHP can be used as a general purpose programming language, it is DESIGNED for use in webpages. It's NOT a good choice for general systems programming use, nor is it particularly suited to any standalone application, particularly one involving sockets.
Instead, learn python. It's different from C or Java. It's a general purpose programming language, has widespread adoption, supports the various system calls you'll be wanting, if you're doing a socket-based application, and has better overall language design.
If you don't believe me, go look at the naming for string functions in php. It grew organically, and it suffers from it.

PHP desktop applications [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 have quite a few years experience of developing PHP web applications, and have recently started to delve into Python as well. Recently I've been interested in getting into desktop applications as well, but have absolutely no experience in that area. I've seen very little written about PHP-gtk and wonder whether it's really a good area to get stuck in to.
What I'm really looking for is something that will allow me to quite quickly develop some decent small/medium sized apps, and be able to deploy them in Linux and Windows. Something in Python or PHP would be great (but I'd be happy to learn something else if it has big advantages).
What do you guys recommend?
Thanks
Building applications in PHP with GTK is possible to create client-side cross-platform applications, but I don't necessarily think it's the optimal choice for GUI development...
Here are some links:
http://gtk.php.net
http://www.cweiske.de/phpgtk.htm
Gnope.org
kksou
Python and Java are both excellent for working on both Linux and Windows environment. They are generally hassle-free as long as you're not doing any OS specific type of work. Python for creating desktop apps is fairly simple and easy to learn as well if you're coming from a PHP background, especially if you're used to doing object oriented PHP.
Why would you like to develop a desktop app in php??
Get yourself a descent programming environment (c/java/c#/) instead of abusing php
especially with c# and java you get pretty quick very nice results. And both are cross platform (although java is easier for cross platform stuff).
C(++) in combination with QT or GTK is also possible, but there the results appear slower
Well its too late to answer i guess but still for the sake of information may I suggest Open Application Platform (OAP) as a possible solution. OAP allows for PHP/MySQL applications to be distributed as installable Windows(tm) applications.
I stumbled upon it while I was looking for porting a PHP app to desktop and found this. Worked great for me. No extra tags for window creations like in winbinder etc.

What PHP Blogging Software Should I Choose [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 am thinking of starting a blog, which I would like integrated into my existing website. I come back empty handed from googling for a comparison of blogging software written in PHP.
My requirements:
Simple but not rudimentary (not a result of a 15 minute CodeIgniter tutorial)
Quality source code (I'd like to be able to learn from it and maybe change it)
Prefer PHP5 over PHP4
Work with MySQL
Easy to integrate into an existing website (I don't want it to be a separate application with a different look and feel under a "blog" directory
Run under safe_mode
Built-in or easy-to-add source code highlighting would be a plus.
Many programmers use Serendipity.
Wordpress' code base is really a mess. A bunch of functions operating on global variables.
I don't ask you to simply trust me, or anyone else. Go look yourself at the code!
And it's written in php4 style, so definitely not what the topic starter asked for.
Wordpress definitely... Great support, many plugins, many themes, etc.
why not try with wordpress ? I think really fit in all your points
Update:
if you still dont like wordpress I can recommend Mephisto which was wrote in ruby. I have tried it but for me was a pain in the ass. Simply wasn't intuitive for me as user.
Wordpress, no question.
You can always have the best with Wordpress + Host it on your own to utilize all of it's great features.

Categories