OUTSOURCE. RELIABLY. Choose an engagement model that works for you:

GoodCore Software is a leading offshore software development company that offers reliable and cost effective software outsourcing options to its clientele world-wide.

Convert your idea into an Amazing Web Application!

From mobile app development to web application development to middleware and desktop software, we provide a wide range of offshore software development services.

Offering Reliable And Cost-Effective Offshore Outsourcing Options

Whether you are an IT consultancy firm looking to outsource software development or a small to mid sized business looking to leverage software technology for your business, we have the expertise to assist you..

Take Control Of Your Website:

How to Rescue Your Website from the Clutches of a Bad Web Designer or Bad Web Host.

Be a part of the revolution Launch Your Mobile App!

Skills with iPhone, iPad, Android apps - Beautiful and functional mobile UI designs - Native as well as HTML5 apps .

Showing posts with label PHP Development. Show all posts
Showing posts with label PHP Development. Show all posts

Wednesday, 29 May 2013

The Fog’s Dispersing – PHPFog’s End Announced

The amalgamation of two path-breaking technologies; PHP and Cloud Computing led to the formation of PHPFog, a cloud-based PaaS (Platform as a Service). During its stint, PHPFog attracted scores of developers due to its core capabilities of facilitating highly-scalable, feature-rich and high performance web applications. This was every PHP application development company’s dream come true. Many an offshore software development company adopted PHP as their technology of choice for web application development and used the PHPFog PaaS service. Companies only need to hire dedicated PHP programmers, as all the other infrastructure needs, such as databases, caching servers, reverse proxy servers and firewalls were taken care of by PHPFog. This eased the process of PHP Zend development and other technologies with programmers only having to worry about integrating elements like MongoDB, MySQL, Memcache, NewRelic and Blitz, testing the application and deploying it.

But, now all that is going to end on 13th January, 2012. That’s the date that the company has set for phasing out PHPFog. No, there is no need to panic! It is going to be replaced by AppFog, a new platform that may prove to be better than PHPFog. It supports a multitude of technologies including PHP, Java, Scala, Python, Node, Ruby, and Erlang. This brings into focus that point that now developers communities would start converging on this single platform giving rise to interesting opportunities and possibilities. The primary list of add-ons that AppFog will support includes PostgreSQL, Redis, RabbitMQ, and Memcachier. It is bound to grow as time passes by. Supporting deployment via 3 version tools, Git, Subversion (SVN), and Mercurial; AppFog integrates a custom tool to manage application deployment irrespective of which versioning system you use.   

Some points to note about PHPFog termination and AppFog initiation:
  • A free account will last only till 21st Dec, 2012; while a paid account will last till 25th Jan, 2013.
  • The databases in AppFog are limited to 100MB
  • A persistent filesystem does not exist as yet
  • Error logs can only be viewed using the af tool
  • Only shared database support is available
We are a PHP Development Company engaged in cutting-edge PHP Zend development and are keeping a keen eye on this development. Being an offshore software development company, we allow you to hire a PHP developer from among our talented pool of developers. We have tons of experience in PHP web application development and out enviable list of satisfied clientele is testimony enough.

Friday, 19 April 2013

Threats to PHP-based Web Applications that You Should Look Out For


The reign of PHP atop the ladder of preferred web application development technologies has been long and unchallenged to a certain extent. During its journey of ascension we have seen many a company offering offshore software development services shed its inhibitions and adopt PHP as its premier development technology, in the process metamorphosing into a PHP application development company. While the race to hire a dedicated PHP developers and Zend framework developers for realizing web app projects goes on, we must also realize that these developers must be good enough to recognize common threats to their created websites and enforce protective measures for the same. Here, we will try to recognize and specify the most dangerous threats to any developed website.

  • The simplest and most common, yet dangerous threat is injection. It happens in a variety of ways with the primary goal of running code or scripts on your server end. SQL injection is one such example, where your database queries are sometimes automatically manipulated. This can also happen with non-SQL databases. The other example is code injection.
  • XSS attacks are triggered when a user visits a website. XSS stands for Cross Site Scripting. What it does is to inject a JavaScript, HTML or Flash code that is executed whenever a user enters a website. This is commonly achieved through script planting by adding it into the signup forms popular these days on many websites.
  • CSRF is more dangerous because it tries to prolong your web session in your name and accomplish tasks on the web. It stands for Cross Site Request Forgery. A query is executed in the background when the user reaches a compromised website. These attacks are more focused on relieving people of their money, but can get them implicated in other serious stuff too.
Just specifying threats isn’t enough. How do we deal with them? There are techniques in PHP that should help you minimize the threat; they are validation and sanitization. Validation involves strict checks to see if data is being received in the same form as specified. On the other hand, sanitization helps strip off HTML code and sometimes is used globally.
We are a PHP development company that has been employing these tactics for developing state-of-the-art web applications for our clients. Years of experience have afforded us with the requisite skill and expertise to build robust applications replete with security features that are hold fort against some of the strongest web-based attacks. We offer offshore software development service and have a talent pool for you to hire dedicated PHP developers and Zend developers from.

Tuesday, 15 January 2013

Chronicling the PHP Journey

The inception, rise and continual progress of PHP have constituted a phenomenal journey. It has seen its share of falls, obstacles and has still risen over all that as a preferred web application development technology for companies providing offshore software outsourcing. The demand to hire dedicated PHP developers is on the rise with each passing day as is the need for a capable PHP development company to conceive and deploy stable and robust applications. Here, we try to chronicle this very journey into eras; as a primer for newbies, or for nostalgia’s sake for the ardent PHP supporter.

  • The OOP and Design Pattern Era
  • On 29th June, 2003, PHP 5.0.0 was launched followed by the GA release on 13th July, 2004. This release saw the adoption of best practices for elements like objects, inheritance, and encapsulation that were an integral part of the object-oriented architecture of PHP. Design patterns were also used.
  • The Security Awareness Era
  • During this phase many eminent personalities published papers and books on the security issues in PHP and how it affected development of web applications. There was a strong push to focus on this aspect and towards finding a resolution. The Suhosin extension was released that is a part of the Hardened-PHP project.
  • The Rise of the Frameworks Era
  • The wider application of OOPs-based coding and adoption of design patterns led to the increasing use of MVC (Model View Controller) architectures. This gave rise to frameworks like CakePHP, CodeIgniter and Symfony that today are a favorite across developer communities.
  • The Era of Standardization
  • The rise of a variety of frameworks also meant countless pieces of reusable code all following, sometimes the same or different patterns. Community standards like PSR-0, PSR-1, and PSR-2 were launched. Code started to be divided into components that were reusable across frameworks due to the PHP base. The GitHub repositories are a prime example of this.
  • The Testing Era
  • This is the current era where the developer community has matured and started to adopt intelligent standardized techniques in favor of bad coding practices like use of XSS, CSRF, and SQL injection. Code is being rigorously tested to weed out bugs and anomalies, and the test themselves are being automated.
    We are a PHP development company specializing in offshore software outsourcing services. We firmly believe that as PHP community we are growing and moving in the right direction. Our pool of PHP Zend developers and programmers from other frameworks are primed to enter the new era of the PHP lifecycle. You can hire dedicated PHP developers from us who can leverage the advantages of PHP in a cost-effective manner for building your web application.

Thursday, 22 November 2012

Zend on Cloud Nine – PHP Tools for Mobile & Cloud

The legend that PHP is turning out to be is indisputable. For an offshore development company, PHP proves to be the ultimate code base for rapid application development and deployment. Adopted into many frameworks, PHP has wormed its way into a variety of web applications. With the current trend of everything going mobile and content available on cloud services, it is about time that PHP graduated to this platform too. Zend Studio 10, based on the Zend framework of PHP has added new tools that facilitate mobile app development with a convenient drag-and-drop environment.

The Zend Studio 10 integrates PhoneGap mobile development capabilities in addition to JQuery, creating an amazing drag-n-drop environment for rapid mobile application development. For a PHP development company, PhoneGap is a blessing as it allows UI prototyping for RIM BlackBerry, Android, Windows Phone and iOS mobile operating systems. It helps create convenient back-ends that range from enterprise applications to social media.

Another PHP Zend development tool is the Zend Server Gateway. It is an API for cloud services based on the REST (Representational State Transfer) architecture. This API helps integrate these cloud services into the drag-n-drop environment of Zend Studio 10 allowing easy authentication and validation. The Zend server upgrade ensures that application deployment to the cloud is automated and improved dashboards are available for in-detail monitoring of application performance across multiple cloud instances of the app. Integrated into this upgrade are compliance and auditing features that allow RCA (Root Cause Analysis) without touching the live code. Zend has also partnered with Red Hat to introduce the PHP engine for the OpenShift platform-as-a-service offering. Other prominent cloud moves by Zend include phpcloud.com, a developer space based on the Zend Server and Zend Application Fabric that is total cloud-based version of the Zend Server.

This is a major fillip to PHP Zend development and as a PHP application development company, we are keenly following all the developments in this arena. We have been developing cutting-edge PHP-based web applications for years and have a host of satisfied clientele who can vouch for our expertise. Our team of talented programmers makes an excellent bet if you are looking to hire PHP mySQL developers. We are offshore software development company committed to realizing your dream web application in the most cost-effective manner and within deadlines.

Friday, 14 September 2012

The Deadly Duo – PHP & JAVA using the PHP/Java Bridge


The era of open source technologies has been characterised by the unprecedented and almost exponential rise of the technology called PHP. It has spawned multiple open source frameworks that form the basis of some of the most powerful software web applications available today. On the other end of the spectrum you have Java, the old warhorse that just refuses to give up. When providing PHP development services, and designing and developing an app, what happens when you combine these two dependable and powerful technologies? Your app will definitely inherit the advantages of PHP and Java. But, how do you accomplish this? Here’s how.

When PHP 4 came out, it featured support for adding an extension that would enable the use of Java. But, as the technology evolved there was a need for change. In PHP 5 and PHP 6, you need to install and configure the PHP/Java Bridge. Only then, can you use Java classes within a PHP script. Let’s first define what a PHP/Java Bridge is. It is a version of a streaming, XML-based network protocol that connects a native script engine, such as PHP or Python to a Java VM. Installation and configuration of the PHP/Java Bridge requires hands-on Java SE and PHP5 core knowledge. You can easily download the bridge as a zip file from the project’s page. The installation is Java platform dependent. 

For J2SE,

  • Get a J2SE 1.6 or higher version installed
  • Get PHP 5.1.4 or higher installed
  • Locate and extract the php-java-bridge_5.2.2_j2ee.zip file to a folder
  • Access this folder directory via the command prompt and type: …>java –classpathJavaBridge.warTestInstallation
  • In the bridge folder you downloaded, locate the ext folder containing 4 .jar files
  • Copy the JavaBridge.jar and php-script.jar files to the J2SE/Java SE ext directory

For J2EE,

  • Put the JavaBridge.war archive in the auto-deploy folder of your J2EE server
  • Change the name of the archive to the name you desire to christen your app with
  • Wait while the auto-deploy process creates a directory associated with this archive
  • Now, test the new app using this URL: http://localhost:8080/appName
  • Alter parameters if the J2EE server is running on a different host or is listening on a different port

The bridge comes with a collection of PHP classes that facilitate the addition of Java code into PHP scripts. Some of them are:

  • java – access java type with the given name
  • java_autoload – loads a set of Java libraries in the PHP script in use right now
  • java_cast – converts a Java object into a PHP value
  • java_is_null – checks for a null value
  • java_session – returns a session handle
  • java_values – evaluates the object and retrieves its content

For these functions to work, your app must contain the related PHP classes, the main among which is the Java.inc class. We are an offshore software development company and have implemented this technique for developing web apps using PHP and Java. We offer PHP development services including PHP MySQL development to clients across the globe. You can hire php mysql developer from our talented pool of developers who have honed their skills in PHP and Java development technologies. Get in touch with us for the best and the most cost-effective PHP development solutions.

Friday, 15 June 2012

Optimum PHP Database Connectivity - The PDO Way


Hypertext Processor or PHP, as it is more commonly known, has entranced the minds of developers worldwide. It is a general-purpose scripting language that can be embedded in HTML. One of the major advantages of PHP is its ability to talk with a variety of databases. This adds the much-needed interactive dimension to websites whereusers can fetch dynamic data and perform transactions. The heart of any web application is not its UI or its controller; it’s the database that stores and provides data based on the queries that are made to it. PHP, being a widely popular programming language, is adopted across the world by dedicated PHP programmers handling large-scale projects for firms providing PHP web development services. If you are one the countless offshore PHP developers who have handled database interactions, and still use the traditional PHP MySQL API for database connections, then this article is precisely targeted at you.

Did you know PHP offers 3 types of APIs for database connectivity? No? Well, here’s some information on them:

  1. MySQL – The most popular API which establishes database connectivity in the easiest of manners.
  2. MySQLi – An ‘Improved’ version of the MySQL API.
  3. PDO – PHP Data Objects, an API that is database agnostic and supports prepared statements, thus negating the requirement for SQL Injection.

Looking at the above points, some might say feel that MySQL seems to be the easiest way out, then why should we try anything else! Well, let us give you three reasons. Firstly, some of the commonly used MySQL API database connectivity code snippets are all set to be deprecated as they do not adhere to the best practices policy are not exactly the right learning that greenhorn developers should pick up. Second, if you need to escape user input, you need to specifically do it from the code, which can be a complex endeavor, especially if you are new to database connectivity and don’t have a clue about data sanitization. Third and the most important point; the MySQL API is inflexible which means you will come up a cropper if you decide to switch databases. Reason enough to consider PDO?

Remember the traditional way of connecting to a MySQL database:

# Connect

mysql_connect('localhost', 'username', 'password') or die('Could not connect: '. mysql_error());

Now consider the PDO technique where we create a new class instance, specify the driver, database name, username, and password:

$conn= newPDO('mysql:host=localhost;dbname=myDatabase', $username, $password);

The main advantage of this technique is that in the event of switching of databases, you can simply update the DSN. This reduces your dependency of MySQL and eliminates the absolute necessity of functions, such as mysql_connect.

But what about errors, you will ask! If the database connection is not established, how do we check the error? PDO offers 3 error mode options to deal with exceptions:

  1. PDO::ERRMODE_SILENT
  2. PDO::ERRMODE_WARNING
  3. PDO::ERRMODE_EXCEPTION

The default error mode is PDO::ERRMODE_SILENT, which does not throw up any exceptions. You must remember to change the default mode to PDO::ERRMODE_EXCEPTION which throws up exceptions as soon as they occur and stops the execution of the script. You can write a simple try-catch code block to capture these exceptions. Failure to do so will require you to manually fetch these non-captured errors.
Now comes the most important part, the core function; retrieving information from the database. This can be done using two options, query and execute. The query method involves using the PDO::Quote method to manually escape data and is almost similar to the mysql_real_escape_string. A word of advice here; if you are dealing with data that a user fills in to a form, use prepared statements instead. For any other data that is not form data, the query method is ideal.
Prepared statements are used via the prepare method that use named parameters, eliminating the need for SQL injection. These statements are then executed by passing data into the named placeholders. Now we come to the part of receiving the data that is fetched by prepared statements.

The PDO API provides multiple options to interact with the result. These include:

  • PDO::FETCH_ASSOC – default response, returns an array
  • PDO::FETCH_BOTH – returns an array, indexed by both column-name, and 0-indexed
  • PDO::FETCH_BOUND – returns TRUE and uses PHP variable for assignment of values in the columns
  • PDO::FETCH_CLASS – returns a new instance of the class used
  • PDO::FETCH_OBJ – returns an object that contains property names associated with columns

The PDO prepare extension is especially suited to the execution on the same query multiple times, each time with separate parameters. You can easily perform the common CRUD tasks that every PHP developer handles day in and day out. But the advantage that rises above all these features, is the usage of an object or class instance for mapping query results.  These inherent advantages should be proof enough for you to switch over from your old MySQL API to PDO. It will not only make your code more secure, but also streamline it to a great extent. And who can forget the coveted flexibility to switch over to any database! All of you, the PHP developer community including all offshore PHP developers, go PDO now, if you haven’t already!

We are GoodCore, a leading offshore software development company in Malaysia. Having garnered expertise in every cutting-edge web development technology that emerges in the market, we apply our skills to the conceptualization, development and deployment of clutter-breaking solutions for clients across the world. We ensure that our team of developers, programmers and consultants are on top of every new development in the technology arena and are primed to lend that advantage to your product. Over the years, we have gained the trust and credibility of many elite clients across the globe. We wish to extend the same quality of services to you. You can hire dedicated PHP developers from us who will help develop cost-effective solutions that match your requirements to the T. If you wish to develop state-of-the-art PHP solutions that are not just path-breaking, but also ROI-intensive, don’t hesitate to approach us. Our vast repertoire of talent is at your service!