430. Notable PHP package: PHP Web Site Compare Files
Posted on: 2016-08-10
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.
More ... Post a comment See comments (0) Trackbacks (0)
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.
More ... Post a comment See comments (0) Trackbacks (0)
428. Notable PHP package: eKatab PHP ePub Reader
Posted on: 2016-08-05
ePub is a common format of eBooks supported by many eBook reader devices.
Basically ePub files are ZIP archives with files of the contents of the ebook.
This class can extract the contents of a ebook in the ePub format and parse it, so the ebook pages can be viewed on Web pages.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
Basically ePub files are ZIP archives with files of the contents of the ebook.
This class can extract the contents of a ebook in the ePub format and parse it, so the ebook pages can be viewed on Web pages.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
427. Notable PHP package: Deferred Exceptions
Posted on: 2016-08-03
Sometimes you need to call different functions in sequence. However if one of the functions throws an exception you may not be able to execute the other functions unless you catch the exceptions of each function.
Putting try and catch statements around every function call may be tedious and boring task.
This package provides an alternative solution. It provides a trait that allows you to queue multiple exceptions thrown by classes that use the trait.
This way you can have access to the whole list of thrown exceptions throw the last or all exceptions that happened.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
Putting try and catch statements around every function call may be tedious and boring task.
This package provides an alternative solution. It provides a trait that allows you to queue multiple exceptions thrown by classes that use the trait.
This way you can have access to the whole list of thrown exceptions throw the last or all exceptions that happened.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
425. Notable PHP package: Jaxon
Posted on: 2016-07-29
Many Web applications have browser side (JavaScript) code making AJAX calls to server side code in PHP that is mapped to classes of objects.
Usually the server side code needs to register classes or functions that will handle the AJAX calls.
However, when you have many classes to handle your Web application AJAX calls, registering classes one by one can be a tedious time consuming task.
The package provides a more efficient method to register many classes at once. You just specify a directory and the package will lookup and load the classes on demand when the AJAX calls are received.
This way you also do not have to waste time instantiating objects of the handler classes until they are necessary.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
Usually the server side code needs to register classes or functions that will handle the AJAX calls.
However, when you have many classes to handle your Web application AJAX calls, registering classes one by one can be a tedious time consuming task.
The package provides a more efficient method to register many classes at once. You just specify a directory and the package will lookup and load the classes on demand when the AJAX calls are received.
This way you also do not have to waste time instantiating objects of the handler classes until they are necessary.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
423. Notable PHP package: CMS Airship
Posted on: 2016-07-27
PHP is often blamed for being an insecure language. This is not a fair claim because, as a language, PHP is not more insecure than most other Web programming languages.
The bad reputation could be attributed to some applications like WordPress and others that can be easily extended with plugins developed by programmers that may not be so security aware as they should.
The CMS Airship package is a content management system package that was developed and managed to be secure by design.
It is mainly a blog engine with support for multi-site environments.
It can be extended with add-ons that can be reviewed and controlled by the community, thus helping to quickly fix any security matters that the community finds.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
The bad reputation could be attributed to some applications like WordPress and others that can be easily extended with plugins developed by programmers that may not be so security aware as they should.
The CMS Airship package is a content management system package that was developed and managed to be secure by design.
It is mainly a blog engine with support for multi-site environments.
It can be extended with add-ons that can be reviewed and controlled by the community, thus helping to quickly fix any security matters that the community finds.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
419. Notable PHP package: Faster PHP IP2Location
Posted on: 2016-07-20
IP2Location is a well known service that uses database files to determine the location of IP addresses of given ranges.
Usually it uses the binary search method to find the location of a given IP address, so it reduces the amount of information to be read from IP2Location database file.
The class implements a more optimized method to lookup the location of IP address in pure PHP code. It departs from a database file from IP2Location more efficient data structures to lookup.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
Usually it uses the binary search method to find the location of a given IP address, so it reduces the amount of information to be read from IP2Location database file.
The class implements a more optimized method to lookup the location of IP address in pure PHP code. It departs from a database file from IP2Location more efficient data structures to lookup.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
415. Notable PHP package: PHP Small Server Administrator
Posted on: 2016-07-13
Most hosting companies provide plans that let developers controls several aspects of configuration of a server via a Web browser by accessing a control panel installed in the server machine to be configured.
This package provides a more advanced solution in pure PHP that allows you to manage several aspects of configuration of hosting servers remotely.
It uses ssh to communicate with the remote server that you want to manage and lets you perform several useful aspects like: managing user accounts, starting and stopping local servers and or services, configuring Web servers, managing files and directories, as well monitoring the server machine user resources.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This package provides a more advanced solution in pure PHP that allows you to manage several aspects of configuration of hosting servers remotely.
It uses ssh to communicate with the remote server that you want to manage and lets you perform several useful aspects like: managing user accounts, starting and stopping local servers and or services, configuring Web servers, managing files and directories, as well monitoring the server machine user resources.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
412. Notable PHP package: PHP AJAX Table
Posted on: 2016-07-06
AJAX is frequently used to update parts of Web pages without reloading the whole page. However, often the updates require sending the whole HTML for the parts of the page to be replaced.
This class follows a more efficient approach for updating listings of tables. Instead of sending over the whole HTML of a table, it just sends the data of the cells to be updated using JSON.
This way it sends much less information to the browser to perform updates to tables and the whole HTML of the table is much larger, thus making AJAX based updates faster.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This class follows a more efficient approach for updating listings of tables. Instead of sending over the whole HTML of a table, it just sends the data of the cells to be updated using JSON.
This way it sends much less information to the browser to perform updates to tables and the whole HTML of the table is much larger, thus making AJAX based updates faster.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
410. Notable PHP package: Random Access File
Posted on: 2016-06-30
Database management systems use special techniques to find records of data very quickly.
One of those techniques is to make each record of data in table have a fixed length, even when some record fields have a variable length.
This way, to read or write specific records in a table, it is just a matter of knowing the record position and multiplying by the length of each record.
This class takes advantage of this technique to efficiently perform several types of operations to manipulate records of data in table files.
Those operations include not only reading and writing records, but also moving records to different positions or even truncate the table files to make them smaller.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
One of those techniques is to make each record of data in table have a fixed length, even when some record fields have a variable length.
This way, to read or write specific records in a table, it is just a matter of knowing the record position and multiplying by the length of each record.
This class takes advantage of this technique to efficiently perform several types of operations to manipulate records of data in table files.
Those operations include not only reading and writing records, but also moving records to different positions or even truncate the table files to make them smaller.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
405. Notable PHP package: Zephir HandlerSocket Client
Posted on: 2016-06-22
Zephir is a statically typed language derived from PHP that can be compiled into native PHP extensions which can run along with PHP code based on the Zend Engine.
This HandlerSocket Client package is the first Zephir based package to be published in the PHP Classes site.
This package is able to connect to a MySQL database server and treat INNODB tables as NoSQL databases, thus allowing PHP developers to take advantage of both worlds in the same application: the world of transactional databases with regular SQL and the world of NoSQL databases.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)
This HandlerSocket Client package is the first Zephir based package to be published in the PHP Classes site.
This package is able to connect to a MySQL database server and treat INNODB tables as NoSQL databases, thus allowing PHP developers to take advantage of both worlds in the same application: the world of transactional databases with regular SQL and the world of NoSQL databases.
Read this article to learn more details about how this notable PHP package works.
More ... Post a comment See comments (0) Trackbacks (0)