Objective-C vs PHP

Objective-C
Objective-C

3.8K
2K
490
PHP
PHP

37.9K
13.7K
4.3K
Add tool

Objective-C vs PHP: What are the differences?

What is Objective-C? The primary programming language you use when writing software for OS X and iOS. Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

What is PHP? A popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Objective-C and PHP can be categorized as "Languages" tools.

"Ios", "Xcode" and "Backed by apple" are the key factors why developers consider Objective-C; whereas "Large community", "Open source" and "Easy deployment" are the primary reasons why PHP is favored.

PHP is an open source tool with 23.9K GitHub stars and 5.53K GitHub forks. Here's a link to PHP's open source repository on GitHub.

9GAG, Hootsuite, and 37 Signals are some of the popular companies that use PHP, whereas Objective-C is used by Uber Technologies, Instagram, and Pinterest. PHP has a broader approval, being mentioned in 8904 company stacks & 2933 developers stacks; compared to Objective-C, which is listed in 851 company stacks and 363 developer stacks.

- No public GitHub repository available -

What is Objective-C?

Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

What is PHP?

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Objective-C?
Why do developers choose PHP?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using Objective-C?
What are the cons of using PHP?
    Be the first to leave a con
    What companies use Objective-C?
    What companies use PHP?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Objective-C?
    What tools integrate with PHP?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Objective-C and PHP?
    Swift
    Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.
    Java
    Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    HTML5
    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
    See all alternatives
    Decisions about Objective-C and PHP
    No stack decisions found
    Interest over time
    Reviews of Objective-C and PHP
    Review ofPHPPHP

    source: w3techs.com

    Rants about PHP are everywhere, but during the last years the language and the whole ecosystem has evolved.

    The lastest versions support namespaces, closures, traits, generators and with composer a dependency manager that changed the way PHP developers work and collaborate.

    How developers use Objective-C and PHP
    Avatar of Instacart
    Instacart uses Objective-CObjective-C

    Basically, the trajectory was we had our iOS app, which started out native, right? It started as a native app, and then we realized you have to go through a review process and it’s slow, and at a very early stage, it made sense for us to make it a wrapped web view. Basically, the app would open, and it would be a web view inside of it that we could iterate on quickly and change very rapidly and not have to wait for app store view process to change it. It wasn’t totally a native experience, but it was as actually a pretty good experience and lasted for a very long time and was up until recently the foundation of our current mobile web experience, which is different from our app situation. So for a long time, basically, our app store iOS Instacart app was a wrapped web view of just our store, a condensed version of our store, which meant that we could add things. We could change sales. We could change the formatting. We could change the UI really fast and not have to worry about the app store review process.

    This all changed about a year ago, I would like to say, at which point it became a totally native app. We felt comfortable enough with the product and all the features that we made it a native experience and made it a fully featured app.

    Avatar of Vladislav Moshynec
    Vladislav Moshynec uses PHPPHP

    Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

    GitHub

    Avatar of ShadowICT
    ShadowICT uses PHPPHP

    We use PHP as our main backend preprocessor. Being a well established language, it is supported by a large community as well as a dedicated team of developers. It is used for much heavier projects that do not require realtime processes as well as being used in a hybrid system alongside NodeJS.

    Avatar of Andrew Gatenby
    Andrew Gatenby uses PHPPHP

    PHP has been the backbone of what we've done at Visualsoft for years. We have lots of experienced people who have used it and know how to get the best out of it. It's come on leaps and bounds over recent years, and is the basis of pretty much everything we'll build with.

    Avatar of Ordius IT Solutions Pvt Ltd
    Ordius IT Solutions Pvt Ltd uses PHPPHP

    The reason being they are simple to learn and easy to implement apps on any size.

    The learning curve for PHP and MySQL is less compared to MEAN. It’s advisable to learn PHP and MySQL if you want to have a taste of web-development or you are in a hurry.

    Avatar of Refractal
    Refractal uses Objective-CObjective-C

    While the majority of our stack is now using Swift, we still love Objective-C in many cases, especially low-level software manipulation, where it's just easier. It doesn't hurt that a lot of iOS/OS X Libraries out there are written in it either.

    Avatar of IPWHOIS.io - IP Geolocation API
    IPWHOIS.io - IP Geolocation API uses PHPPHP

    Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

    Avatar of SmartLogic
    SmartLogic uses Objective-CObjective-C

    We like to go native with iOS development, and Objective-C has been the only game in town until recent introduction of Swift. We're keeping an eye on Swift, but we aren't giving up on the [old way:to do:things]!

    Avatar of DailySMSCollection
    DailySMSCollection uses Objective-CObjective-C
    Avatar of Promethean TV
    Promethean TV uses Objective-CObjective-C

    PrometheanTV provides SDKs for IOS devices including support for the Objective-C language.

    How much does Objective-C cost?
    How much does PHP cost?
    Pricing unavailable
    Pricing unavailable