View Post

Modern Application Frameworks, Legacy Browsers and Security Implications

In Cybersecurity, Web Development by Ian0 Comments

This entry is part 5 of 10 in the series Intrusion Detection

This entry is part 5 of 10 in the series Intrusion DetectionI was recently sent an article titled ‘How it feels to learn JavaScript in 2016’. Aguinaga, J. (2016).  It is a somewhat amusing take on the current state of JavaScript frameworks and libraries available to web developers and how this environment is changing so quickly. All quirks aside, modern …

Share
View Post

Using jQuery.AJAX() to Retrieve Sample JSON Data

In Web Development by Ian0 Comments

Traditionally the X in AJAX has usually equated XML (eXtensive Markup Notation). In recent years, JSON (JavaScript Object Notation) has taken over in many cases due to its overall efficiency and ease of use. In general, JSON is a much less verbose syntax, which has gained a lot of popularity in modern JavaScript frameworks. Part of this popularity can be …

Share
View Post

Dependency Injection / Service Container Example

In Drupal, Web Development by Ian0 Comments

This entry is part 14 of 14 in the series Drupal 8 Activity Cards

This entry is part 14 of 14 in the series Drupal 8 Activity CardsIn an earlier post, I outlined the basics of dependency injection and talked a little bit about the Drupal 8 service container and how we can use this in our code. Day 16 of Drupal Activity Cards provides a task for us to implement dependency injection in …

Share
View Post

Logging in Drupal 8

In Drupal, Web Development by Ian0 Comments

This entry is part 13 of 14 in the series Drupal 8 Activity Cards

This entry is part 13 of 14 in the series Drupal 8 Activity CardsLogging is very important in any production site because we don’t have the same ability to debug code that we have in our development environments. Drupal 7 had a very robust logging system called watchdog(), which has been replaced by logger in Drupal 8. This post summarizes …

Share
View Post

Introduction to Drupal 8 Theming

In Drupal, Web Development by Ian0 Comments

This entry is part 12 of 14 in the series Drupal 8 Activity Cards

This entry is part 12 of 14 in the series Drupal 8 Activity CardsDrupal 8 has a new theme engine, however many of the concepts we are familiar with in Drupal 7 are still in place in this new version. Themes still have the same ability to overwrite various templates within core, only now instead of modifying .tpl.php files, you …

Share
View Post

Configuring your Local Drupal 8 Development Environment

In Drupal, Web Development by Ian0 Comments

This entry is part 10 of 14 in the series Drupal 8 Activity Cards

This entry is part 10 of 14 in the series Drupal 8 Activity CardsI have struggled with properly optimizing my local environment in terms of enabling debugging and disabling cache for a while. There isn’t that many steps you need to cover in order to have a proper working development environment. After reviewing Day 10 I completed setting up my …

Share
View Post

Attaching JS and CSS Assets in Drupal 8

In Drupal, Web Development by Ian0 Comments

This entry is part 9 of 14 in the series Drupal 8 Activity Cards

This entry is part 9 of 14 in the series Drupal 8 Activity CardsDrupal 8 has introduced a different way of attaching JavaScript and CSS to themes and custom modules via a new concept called libraries, which are covered in Day 9. Libraries are essentially .yml files that define different groups of assets that can later be attached via module code. When …

Share
View Post

Drupal 8 Plugin System

In Drupal, Web Development by Ian0 Comments

This entry is part 8 of 14 in the series Drupal 8 Activity Cards

This entry is part 8 of 14 in the series Drupal 8 Activity CardsThere is a lot of new terminology in Drupal 8 and for anyone not familiar with Object Oriented programming, some of it can be downright confusing. For myself, I have worked with OOP for quite a while, however I have not spent as much time writing custom …

Share