Posts

Showing posts from 2017

5 Ways to Leverage Facebook and Instagram Ads for Higher Mobile App Downloads

Image
Mobile apps have become an integral part of marketing for brands across industry verticals. With an application, businesses can create a direct connection to their audience to increase engagement and brand awareness. In order to convince consumers to install your mobile app, they have to know it exists, which is where Instagram and Facebook ads come in.

A digital marketing agency with expertise in advertising mobile apps on these social media platforms can achieve a high level of success. This is especially true on Instagram, where most users view the platform on their phone. As a result, mobile app downloads happen more easily with just one tap.

Instagram is also a newer ad platform, which means brand competition is lower than on Facebook. On the other hand, while consumers prefer ease of use, they also gravitate toward familiar platforms like Facebook. For businesses, this means access to a larger, varied audience.

The following tips will assist you in making decisions that work best…

Using components in Cakephp 3+

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27<?phpnamespaceApp\Shell;useCake\Console\Shell;useCake\Controller\Component;useCake\Controller\ComponentRegistry;useApp\Controller\Component\YourComponent;classYourShellextendsShell{publicfunctioninitialize(){parent::initialize();$this->Your=newYourComponent(newComponentRegistry());}publicfunctionyourMethod(){$this->Your->component_method($params1);}}?>

Creating robot.txt for CakePHP

What is robots.txt?Robots.txt is a text file webmasters create to instruct web robots (typically search engine robots) how to crawl pages on their website. 

To learn more and see examples of robots.txt : https://moz.com/learn/seo/robotstxt

Cakephp - MissingControllerException Controller class Robots.txtCreate the robots.txt in your webroot/directory.

CakePHP Change Default Timezone Set

Set timezone in App/Config/bootstrap.php (Cakephp 2.6+) Set timezone in config/bootstrap.php (Cakephp 3)

1 2 3 4 5 6 7 8<?php/* * Set server timezone to UTC. You can change it to another timezone of your * choice but using UTC makes time calculations / conversions easier. * Check http://php.net/manual/en/timezones.php for list of valid timezone strings. */date_default_timezone_set('Asia/Manila');?>
Check http://php.net/manual/en/timezones.php for list of valid timezone strings.

Custom favicon sizes for CakePHP

Generate your icon here for different sizes :https://www.favicon-generator.org/

Put your images/icons inside webroot/ico directory. If you use theme/plugin, put it inside the webroot/ico of the theme


Open your default.ctp and put this code inside <head></head>:



1 2 3 4 5 6 7 8 9 10 11 12<head> <?phpecho$this->Html->meta('android-icon-36x36.png','/ico/android-icon-36x36.png',['type'=>'icon']);echo$this->Html->meta('apple-icon-57x57.png','/ico/apple-icon-57x57.png',['type'=>'icon','sizes'=>'57x57']);echo$this->Html->meta('apple-icon-72x72.png','/ico/android-icon-72x72.png',['type'=>'icon','sizes'=>'72x72']);echo$this->Html->meta('apple-icon-76x76.png','/ico/apple-icon-76x76.png',['type'=>'icon','sizes'=>'76x76']);echo$this->Html->meta…

GET THE DATABASE SIZE FROM THE MYSQL QUERY BROWSER

Run the below query you can get the Data Base Size in MySQL. 

If you run the query which is given below in MySQL Query Browser then you will get the two columns first will display the Data Base Name and the second will display the Data Base Size in MB. 




This will display list of all database :

1 2SELECTtable_schema"Data Base Name",sum(data_length+index_length)/1024/1024"Data Base Size in MB"FROMinformation_schema.TABLESGROUPBYtable_schema;


This will display specific database db_name:

1 2SELECTtable_schema"Data Base Name",sum(data_length+index_length)/1024/1024"Data Base Size in MB"FROMinformation_schema.TABLESWHEREtable_schema="db_name"

Ajax Request to PHP

Client Side
1 2 3 4 5 6 7 8 9 10 11 12 13$.ajax({url:'/path/to/server',type:'POST',data:{first_name:firstName,last_name:lastName,address:address,city:city,country:country},success:function(result){varobj=jQuery.parseJSON(result);if(obj.result=='OK'){alert(obj.message);}else{alert(obj.message);}}});

Server Side
response from php file
1echojson_encode(['result'=>'OK','message'=>'This is message']);

The Importance of Redesigning Your Website

Redesigning a website takes time and money, but in the end a revamp is a wise investment. Your website is essentially a virtual business card, and your strongest online marketing tool.

Whether you’re looking for the best web development in LA or revamping in NYC, make the most of business by keeping your website fresh, up-to-date, and user-friendly.

Outdated The Web is constantly changing: Web technology that was once considered cutting-edge is most likely out-of-date today. A website makeover will give you and your business an advantage in the competitive, online sphere..

In fact, design is a leading factor in user trust. According to a study titled, “Trust and Mistrust of Online Health Sites,” 94 percent of the participants agreed that an updated, better looking website is more trustworthy than an outdated design, even if the information displayed on both is accurate and of equal quality.

Usability If your readers are unable to find what they’re looking for quickly, they will leave. To pr…

Content in Web Design

Once a visitor is a customer, it’s important to keep them coming back. The work doesn’t stop after the initial website launch, and any good web design company will help you understand the other factors for success, like engaging content. Posting fresh, relevant information on your website will ensure your site improves SEO while driving new and returning traffic.

Keep Visitors Coming Back With Engaging Content When it comes to web marketing, content is king. Engaging content can include anything from infographics, to videos, to opinion posts.

An infographic is one of the most basic ways to present information in a visual way; hence the name, info + graphic. Infographics are statistically proven to drive views faster than other types of content and are a powerful way to get your information out in a simple, visual format. In fact, studies show that infographics are shared and liked on social networks up to three times more often than other content.

Cater to Your Specific Audience to Drive …