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  
  1517 - 1508   ...   417 - 408   407 - 398   397 - 388   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   307 - 298   ...   7 - 1  

319. Shall PHP 7.x Feature Asynchronous Programming Using Async/Await? - Lately in PHP podcast episode 64

Updated on: 2015-10-15

Posted on:

Recently PHP core developers have been discussing if they should make async and await reserved keywords just in case future PHP versions implement asynchronous programming support similar to Facebook Hack and future EcmaScript/JavaScript versions.

This was one the main topics commented by Manuel Lemos and Arturs Sosins in the episode 64 of the Lately in PHP podcast.

They also discussed the pros and cons in terms of performance of using native prepared queries with PDO, adding enum data types to PHP 7.x, having class templates similar to C++ or Java generics, among other interesting PHP topics.

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


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

318. PHP 7 Anonymous Classes Tutorial

Updated on: 2015-10-13

Posted on:

PHP 7 has introduced a new class feature called the Anonymous Class which allow us to create objects without the need to name them.

Read this article to learn about the concept behind anonymous classes and how we can use them in your PHP projects.


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

317. PHP 7 Adoption Survey

Updated on: 2015-10-12

Posted on:

PHP 7.0 is about to be released. We all heard about what will be its new features and improvements. What we don't know yet is how well it will be adopted by the PHP community.

Participate in this survey to tell what are your intentions regarding if and when you plan to adopt PHP 7 in your projects.


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

316. Create Microsoft Word DOCX files from HTML in PHP Part 2: More Complex Documents

Updated on: 2015-10-07

Posted on:

In the first part of this article it was presented the class VsWord as a means to create Microsoft Word DOCX articles from HTML.

Read this article to learn how to compose more complex documents either using HTML or calls to the class that can insert document elements programmatically.


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

3. Starting Long Server PHP Scripts and Monitor their Status Part 3: Running Multiple Parallel Tasks

Updated on: 2015-10-05

Posted on:

Blog: Asynchronous Long Server Tasks package blog
Package: Asynchronous Long Server Tasks

In the previous parts of this article it was presented a solution to run a task on the server that could take a long time to complete and still be able to monitor its progress. However it was limited to running one task at a time.

Read this article to learn how to run multiple long tasks on the server in parallel taking the most of the available server resources. You can also watch a video of the example solution in action.


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

315. PHP Word Document Generator to Convert HTML to DOCX Part 1: Using VS PHP Word HTML class or PHPDocX Example

Updated on: 2017-05-20

Posted on:

Many PHP applications require to export documents in Microsoft Word formats. However, most PHP developers only have experience in generating HTML Web pages.

Read this article to learn how to quickly create Microsoft Word DOCX format using HTML templates.


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

9. Get Twitter Direct Message Images in PHP with the OAuth API

Updated on: 2015-12-10

Posted on:

Blog: PHP OAuth Library package blog
Package: PHP OAuth Library

Twitter API allows applications to access users' direct messages but if you want to download images or other media associated with those direct messages, there is no specific API call to do so.

Direct messages are private, so there is no public URL to access the direct messages' images without using OAuth or you are a real logged user accessing Twitter via a browser.

Read this article to learn how to download images that belong to direct messages using authenticated requests with this PHP OAuth client class.


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

2. Starting Long Server PHP Scripts and Monitor their Status Part 2: Solving the Problem with Classes

Updated on: 2015-09-29

Posted on:

Blog: Asynchronous Long Server Tasks package blog
Package: Asynchronous Long Server Tasks

In the first part of this article we have presented a solution to start tasks from PHP that take a long time to finish.

Read this article to learn how to implement the solution with the PHP class package named "Asynchronous Long Server Tasks".


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

314. PHP Articles and Book Reviews Report September 2015 Edition

Updated on: 2015-09-23

Posted on:

This is the September edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the latest outstanding PHP Articles and Book Reviews published recently.

They commented on articles about creating PHP extensions in C to manipulate arrays, making better reuse of PHP code with traits, the benefits of using Git in your projects, performing sentiment analysis on text, and calculating periodical events.

They also commented on books about Node.js for PHP developers, learning PHP with MySQL and JavaScript and Laravel 5 Essentails.

Listen to the podcast, or watch the hangout video to learn more about these PHP articles and book reviews.


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

1. Starting Long Server PHP Scripts and Monitor their Status Part 1: The Theory

Updated on: 2015-09-22

Posted on:

Blog: Asynchronous Long Server Tasks package blog
Package: Asynchronous Long Server Tasks

Typical HTTP requests take no more than a few seconds. By default PHP limits script execution to 30 seconds. However, sometimes you need to execute tasks that much longer.

Read this article to learn how to start long tasks without making the user wait and still give progress information of a long task running on the server side.


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

  1517 - 1508   ...   417 - 408   407 - 398   397 - 388   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   307 - 298   ...   7 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article  
For more information send a message to info at phpclasses dot org.