WordPress linux backup script to offsite NAS via Rsync 3

WordPress linux backup script to offsite NAS via Rsync
Here’s a simple straightforward bash | shell script that I use for this SITE to easily and routinely backup my Entire  Wordpress Site , all its folders and plugins , and the corresponding database.   Of course there are dozens of WordPress Backup  plugins (such as Backup Buddy;  Updraft Plus; BackWpUp ) that do this ...

Lazarus – Discover Windows, Mac & Linux cross platform Development IDE 4

Lazarus - Discover Windows, Mac & Linux cross platform Development IDE
If you’re a developer of a certain age (say north of 35) you will likely have worked with or heard of Visual Basic and to a lesser known extent Delphi IDE (Integrated Development Environment) development platforms. These development IDE’s, were very popular in the mid to late 90’s and ushered in an era or rapid Windows applications ...

genetic algorithms in PHP code example of (evolutionary programming ) 13

genetic algorithms  in PHP code example of (evolutionary programming )
This posting and php code sample is about fascinating topic of  Genetic Algorithms (GA) which simulate evolution using computer code to help find  near-optimal solutions when dealing with problems that  involve multiple disparate requirements. I recently began playing with Genetic algorithms (Genetic algorithms  GA, for short) which  are  part of a class of evolutionary algorithms (EA) that make up ...

Websockets : Using HTML5 client and PHP server for real-time server push 28

Websockets : Using HTML5 client and PHP server for real-time server push
Step-by-step to build a simple HTML5 using a PHP server for true server-push websocket communications I’m going to demo how you can create a simple and easy echo server, and communicate bidirectionally with various web clients.  The ability for the server to send (or “push“) communications to the client (browser) at any moment provides a ...

HTTP long poll example in php ajax 2

Simple and easy PHP example of how to integrate long-polling (“hanging GET”) to simulate server PUSH and add more dynamic content to your web pages. As a standard HTTP is terrific protocol likely the most popular protocol ever (since it’s the foundation of the modern web portion of the Internet), but even so its mostly ...

Code Sample: PHP Javascript Currency converter + exchange rates caching RSS feed 22

Code Sample: PHP Javascript Currency converter + exchange rates caching RSS feed
Problem: For a recent project I needed to get the latest exchange rates to allow the sales folks to quickly calculate costs  while doing estimates in different currencies. There are many sites online where you can do this, but we wanted to create an in-app widget that could be re-used on various internal  pages. The ...

Code Sample: PHP Backup MySQL and files to Dropbox 16

Code Sample: PHP Backup MySQL and files to Dropbox
Most web hosts have the ability via their control panel to offer an entire site backup , and this is the minimal functionality you  should consider. Generally there’s a site backup link within the control panel that create a tar ball (.zip file)  of the entire site and its contents. then you can email,or simply download ...