Deploy a WordPress Azure Web App with an Alternative MySQL Database

Michael S. Collier's Blog

I was recently presented with an interesting question about Azure Web Apps, WordPress, and MySQL. While not necessarily a “hard” question, the answer wasn’t as readily available as I first anticipated. I thought I would share my experience here in hopes of helping others.

The Question

How can you deploy a WordPress site using Azure Web Apps that uses a MySQL database instance that is not a ClearDB database available in the Azure subscription?

Background

Normally when you create a WordPress site using Azure Web Apps you are presented with an option to select an existing ClearDB MySQL database, or create a new one. But what if you don’t want to use an existing instance or create a new one? What if you want to use a MySQL database instance deployed to an Azure VM or you have a ClearDB MySQL database that doesn’t…

View original post 711 more words

Deploying Joomla on Windows Azure Web Sites

Altocumulus

Today we have released the preview of Windows Azure Web Sites to –

Quickly and easily deploy sites to a highly scalable cloud environment that allows you to start small and scale as traffic grows.

Use the languages and open source apps of your choice then deploy with FTP, Git and TFS. Easily integrate Windows Azure services like SQL Database, Caching, CDN and Storage.

Using Web Sites it is very easy to deploy many different OSS based platforms such as Drupal, Joomla!, DNN or WordPress

This simple post will show the steps required to get a Joomla site up and running and with Web Sites this is a wizard driven process that takes around 10 minutes end-to-end. how easy is that?!

To start the process, in the new, HTML5 based, management portal you click the ‘NEW’ button on the bottom left

image

In the menu that opens you select ‘WEB SITES’…

View original post 174 more words

AngularJS Sample Code for get MySql data using PHP

PHP CMS Force

Introduction:

HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop. You are now ready to build the AngularJS simple app with MVC design pattern.

Create a table and insert some values.

MYSQL Query:

CREATE TABLE IF NOT EXISTS `tbl_projects` (

  `pid` int(11) NOT NULL AUTO_INCREMENT,

  `title` varchar(255) NOT NULL,

  `pcode` varchar(15) NOT NULL,

  `type` varchar(255) NOT NULL,

  `proj_type` varchar(100) NOT NULL, 

  PRIMARY KEY (`pid`)

) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;

INSERT INTO `tbl_projects` (`pid`, `title`, `pcode`, `type`, `proj_type`, `created_dt`, `created_by`, `updated_dt`, `updated_bt`) VALUES

(1, ‘Product’, ‘RR_PD’, ‘Web Apps’, ‘External’, ‘2014-07-16 20:09:47’, 1, ‘2014-07-18 19:05:36’, NULL),

(2, ‘WorkE’, ‘RT_WTNE’, ‘Mobile Apps’, ‘Internal’, ‘2014-07-16 20:10:46’, 1, ‘2014-07-18 19:05:43’, NULL),

(6, ‘SolutionBee’, ‘RJ_RTSB’, ‘Web…

View original post 421 more words

drupal 8 disable twig cache, drupal 8 twig template cache disable, drupal twig debug

phpcoderblog

– twig settings:

– go to /sites/default/services.yml and set config to:

parameters:
twig.config:
debug: true
auto_reload: true
cache: false

P.S. `debug` is optional here. If `true` it provides additional information. To see that information go to source code of the page.

* IMPORTANT NOTE: By default, Drupal caches any rendering it performs for blocks and entities, to speed up subsequent page loads. This means that changes to Twig templates for these will not take effect immediately. There is no way to disable this currently (8.0.0-beta9), maybe they will fix it in future releases.

View original post