Posts

Key Javascript Concepts for Modern JS

Image
Javascript is one of the most powerful languages in the web technology stack. We have got too many languages for modern web development. But if you see any of the modern web technology, that will have either impact on Javascript or it might be built on top of Javascript. Recall on Javascript Javascript was created by Breaden Enrich, while he was working with Netscape Communications Corporation. He named the language LiveScript. Later Netscape named the LiveScript to Javascript. Javascript 1.1 was submitted to European Computer Manufacturer Association(ECMA). The technical committee of the ECMA has regulated the syntax and semantics for global usage. ECMA has a larger developer community from popular companies like Microsoft, Sun, Netscape, Borland, and other organizations.  This evolution keeps on moving into the growth for Javascript and its dependency frameworks/libraries. On another side, javascript-based frameworks are stretched their legs in different corners of web development. W

Microsoft Azure and its overview

Image
Microsoft is one of the front runners in the cloud industry. It is providing the end-user with privileges on 3 different aspects of services like IAAS, PAAS, and SAAS. Other than this service, they also provide the FAAS (But this we can incorporate with PAAS). Depending on the user's business nature and needs, we can use these services either individuals or as hybrid implementation. When it comes to realtime, most of the time people prefer hybrid architecture over service. That will enable them to cost-optimized and features specific goals. What is IAAS? IAAS stands as Infrastructure as a service, it will provide you the ability to compute something on the CPU. Even simpler form, which is the operation in the cloud performing on top of hardware-specific, is called IAAS. Example:  Virtual machine, Storage, and Virtual networks. What is PAAS? PAAS stands Platform as a Service, It will enable you to perform the operations on top of OS. You don't need to worry about underlying hard

Drupal 8 Architecture Overview

Image
What is Drupal? Drupal is the most powerful CMS and open source in the market. It is built on top of PHP. Competitors are Joomla and Wordpress on open source. When it comes to paid resources on the content management systems, a couple of other high traffic CMS available in the market like Sitefinity, Sitecore, and Sharepoint. There are few other advantages over drupal like vast community, open-source, serving a long period in the market and provided different solutions for respective domains. On community support get benefits out on the following areas on the development. Documentation Translations Testing Development including theming and contribution modules Drupal community assembles the different experts in a common forum on drupal.org How Drupal 8 different from Drupal 7? Drupal 7 Drupal 8 It is built on top of core PHP It is built on top of Symfony Framework Templates are built on PHP template files Templates are built on

Drupal 8 Media Library with SVG upload

Image
Uploading the media content and maintaining together with reusability was one of the challenges in earlier versions of drupal. Media Library has been included in the Drupal core. It has a better user experience including multiple media types that can be customized based on development requirements. Media Library is a media management tool that enables you to find media that exists in your site and to add new media items. It allows you to search, sort, and create media items with a customizable interface. It can be used to add media items to an entity reference field or embed media into your content via a text editor. To use the media library luxury, Throughout the site we should use the media field. It will help us to collect the media elements as a single point and will be provisioned for us to reuse using the media library. Media type management will be maintaining the list of media types being supported by the media field. We can add the new media type thro

Drupal Content Workflow

Image
In CMS world maintaining the content workflow is very important. When the content editor is updating the content to the page, it always requires review and approval by the content manager. This workflow will define the way, how the content will be published to the end-user on the site. Drupal 8 has a core module to support content authorization workflow. But it doesn’t have the ability to provide the interface to customize the own workflow depending on different organizations. That will be achieved by contribution module called Workflow This will help you establish the transition state between different content types and roles. But the known disadvantage on this module, will not able to edit the published content (Current published state content)

Drupal 8 aggregator workflow

Image
Drupal aggregation has 2 different elements that are compressing the content on temporary files. JS CSS Whenever we are enabling the aggregation in drupal. It will create a file in /sites/default/files/css  and /sites/default/files/js folder with file contents. This file name will be stored in a cache table called “cache_data”. If you delete any one of the files, it will keep on cache content and will try to find the JS and CSS from this table. If you opted for the drupal aggregation, make below steps are followed as drupal administrator Keep ready all JS and CSS files in the themes folder (themes/themesname/css and themes/themesname/js) Clear the cache (Configuration > Performance) Activate the aggregation in drupal CMS (Configuration > Performance) After activated the above steps, you can find the compressed files on sites/default/files/css and sites/default/files/js folder.  Execute the below query in mysql DB, to find the list of aggregation entrie

Adding custom property in Azure Broken Message object.

The below code is sample piece of code to add custom property in azure broken message object Get the custom property value