Technical Solution
| 3
min read
One of our app utilize photographs taken using device camera. It was required to resize the taken image. After searching, it is realized that there is no native cordova plugin for image manipulations on different mobile platforms. It is also realized that canvas element of HTML can be utilized for image manipulations. There are numerous libraries that makes manipulations possible using canvas, all of them were supposed use from UI or required user facing canvas. But it was not the case in our app.
Technical Solution
| 4
min read
Ionic is a framework helping to build hybrid mobile applications using HTML, CSS and JavaScript on top of Cordova/PhoneGap. It makes building of rich mobile UI easier and faster. Apart from basic framework, it includes some tools and utilities also. Generate basic application structure from existing templates, generate icons and splash screens for almost all screen sizes, test the mobile app on desktop browser using built-in webserver etc are few of them.
Technical Solution
| 2
min read
Identifying size of device screen is easy in a Cordova application. But is not available directly. We can get the screen object from window.screen and it has width and height properties. The problem is, these width and height may not represent physical screen, but the concept called CSS pixel.
Technical Solution
| 3
min read
Dependency injection is a concept that allows software components to be built having dependencies without bothering about creation and management of that dependencies. It is a good design pattern allowing to build loosely couples components in software.
Technical Solution
| 4
min read
We can create directives in AngularJS to bring our own HTML tags or attributes, or even special CSS classes or comments. It is most used for building HTML elements and attributes and rarely used for classes and comments. Using directives we can simplify application's HTML markup and have more organized code.
Drupal Technical
| 3
min read
It was not easy to change calling order of hook implementations in Drupal prior to version 7. From Drupal 7 onwards you can control the order of hooks called for different modules. To accomplish it, there is a new hook introduced in Drupal 7. It is hook_module_implements_alter().
Drupal Technical
| 3
min read
We had an issue in views_slideshow_jacrousel module that prevents true circular effect in the carousel even when we configure the module to use the circular effect. Read on to know how to enable true circular effect in Carousel in Views Slideshow jCarousel module.
Drupal Technical
| 3
min read
While working on Drupal Views, we might want to examine the query executed by the View to get its data. Analyzing the query may help us to identify why the view does not produce expected result. Read on to know how to view the SQL query executed by a View.
Technical Solution
| 3
min read
Did you face a situation where you wished that you could edit JavaScript live on the browser to make experimental changes in your code? Have you ever made modifications in JavaScript code without rewriting the file and reloading the web page to see the changes in real-time. Read on to know how to edit JavaScript code in your browser and see the changes in real-time?
Drupal Technical
| 4
min read
Most Drupal developers know about writing theme functions in Drupal 7. Likewise we can create theme templates too. However Drupal developers rarely create their own templates. Read on to know how to create a custom template in Drupal 7.