PHP Classes

PHP Classes blog

Recommend this page to a friend!

Latest PHP Classes blog posts

  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article  
  1987 - 1978   ...   567 - 558   557 - 548   547 - 538   537 - 528   527 - 518   517 - 508   507 - 498   497 - 488   487 - 478   477 - 468   467 - 458   457 - 448   ...   7 - 1  

438. Notable PHP package: CakePHP 2.x Container

Updated on: 2016-08-23

Posted on:

Dependency injection is design pattern often used implement functionality on one class using objects from external classes without hardcoding the dependency between the two classes.

Several PHP frameworks implement their own dependency injection containers but since each one implements it in a different way, a generic container interface was defined to allow to call components of one framework to be called from by components of any other framework.

The package implements a component with the generic dependency injection container interface so application services and other types of applications not based on CakePHP can be easily used with CakePHP.

Read this article to learn more details about how this notable PHP package works.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

437. How to Create Your Own Software Product Business Without Quitting Your Day Job

Updated on: 2025-02-22

Posted on:

Many developers want to create their own software product business but they still need money to support themselves, and so cannot quit their day jobs.

Watch this very short video to learn about a simple tip on how you still can create your own business without having to quit your current job.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

436. Notable PHP package: PHP UDP Hole Punching

Updated on: 2016-08-19

Posted on:

When you want to connect to a remote machine that is connected to a group of peers but you do not know its address, one common solution is to connect to central server and ask the addresses of the peers to communicate with them.

This technique is used by NAT servers (Network Address Translators) that are often running on router machines in order to route requests to remote machines from local network computers.

This process is called hole punching because it uses an intermediary server to get the addresses of the remote machines, so the client can communicate with them.

This PHP package implements a server with one class that can keeps the list of connected client machines and returns the list of peer addresses and ports.

The client class connects to the server class to get the peer machine address list, so it can send messages to them using UDP packets.

Read this article to learn more details about how this notable PHP package works.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

435. Will Lazy Statements Make PHP 7 Programming More Efficient ? Lately in PHP podcast episode 74

Updated on: 2016-12-23

Posted on:

A recent proposal is being discussed for PHP 7 feature called lazy statements. It would allow developers to assign values to variables based on code that is only executed when the variable is accessed for the first time, thus avoiding executing the code if the variable ends up never being accessed.

That was one of the main topics discussed by Manuel Lemos and Arturs Sosins in the episode 74 of the Lately in PHP podcast hangout.

They also talked about the HTTPoxy vulnerability that affects some important PHP projects, as well the usual proposals for upcoming PHP versions like autoloading for global functions, different syntax for returning $this for classes that provide fluent interfaces, support for arbitrary method in the built-in PHP Web server, a new structured object notation for creating objects, etc..

They also mentioned features to be discontinued in PHP 7.1 like SSL 2 support and some extensions that will not ship with PHP 7.1 anymore.

This article includes a transcript of the podcast summary.

Listen to the podcast, or watch the hangout video, or read the summary transcript to learn more about these interesting PHP topics.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

434. Notable PHP package: PHP YouTube Movie Trailers

Updated on: 2016-08-17

Posted on:

YouTube is certainly the most popular video hosting site on the Web.

It is used to publish all sorts of videos including trailers of many movies often way before they are released in theathers.

This package can access the YouTube site to perform searches for trailers of specific movies, so it can extract the video identifiers of the trailer movies. It generates HTML to embed those videos on other site Web pages.

Since it just scrapes the YouTube search result pages, it does not need to use an API key.

Read this article to learn more details about how this notable PHP package works.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

433. 10 High Growth Companies Hiring PHP Developers

Updated on: 2016-08-16

Posted on:

PHP is so popular that sometimes fans of other languages question if PHP is still that popular in the hope that PHP developers move on to the languages of their preference.

The fact is that PHP continues to be so popular that large companies have still great demands for qualified PHP developers.

Read this article to learn about some of the high growth companies that continue to look for great PHP developers.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

432. How to Pick Partners for a Software Product Business? - Fix My Software Product Business

Updated on: 2025-02-22

Posted on:

When creating a software product business most developers prefer to just deal with with the software development part.

However, somebody should take care of the marketing, sales, finances, human resources, etc.. The best way to cover for these business needs is to bring people specialized on these areas, so you can continue to focus on the software development efforts.

But how should you keep them interested working for your company? Should you hire them or make them business partners? How do you pick business partners that will not cause you trouble later?

Watch this consulting session video to learn how to answer these questions so your business grows in a healthy manner with great partners.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

431. Notable PHP package: PHP Detect Google Crawler

Updated on: 2016-08-12

Posted on:

Google is the most popular search engine. Being well ranked on Google is important for many sites to get nice organic traffic.

Many sites try to serve content for Google crawler bots as fast as possible, so that increases the chances of the sites pages to rank well.

In theory it is easy to detect when the Google bot is accessing a Web page. It is usually a matter of detecting the user agent string sent with requests from the Google bot crawler.

However, there are crawlers and malicious bots that pretend to be the real Google bot faking its user agent string.

This class provides a more robust way to detect whether a request is coming from Google bot or not.

It just gets the HTTP client IP address and resolves its host name to verify if it really has one of the known Google bot domains.

Read this article to learn more details about how this notable PHP package works.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. Free PHP Currency Conversion API Script with Source Code to Get Forex Exchange Rates

Updated on: 2017-04-24

Posted on:

Blog: PHP Exchange Rate API package blog
Package: PHP Exchange Rate API

Foreign exchange rates for currency are constantly fluctuating from one minute to the next. So those Euro's you have may be worth more, or even less US Dollars throughout the day.

Using the PHP Exchange Rate API we can access real time and historical rates through the currencyLayer API.

Read this article to learn how to retrieve currency exchange rates for many currencies now, as well in paste dates up to the year 2000.


Blog More ...   Post a comment Post a comment   See comments See comments (21)   Trackbacks (0)

430. Notable PHP package: PHP Web Site Compare Files

Updated on: 2016-08-10

Posted on:

Sometimes it is necessary to verify if the files of a site on the server are up to date and were not changed eventually by an attacker that took advantage of a security hole.

There are some solutions that compute hashes of all the files in the server but they do not tell whether the files different because they are not up to date with the latest development version or were changed eventually due to a security attack.

This class provides a solution that uses a different approach. It calls a script on the server that lists the existing files.

This way it can compare list of files on the production and the development environments, or even compare the files installed on different production or testing servers.

Read this article to learn more details about how this notable PHP package works.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

  1987 - 1978   ...   567 - 558   557 - 548   547 - 538   537 - 528   527 - 518   517 - 508   507 - 498   497 - 488   487 - 478   477 - 468   467 - 458   457 - 448   ...   7 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article