111 posts found under,

code

Photo by Ed Telling during FullStackCon 2017. Table of Contents Overview Talk: TypeScript Decorators Talk: Npm, Gulp, Webpack, What the heck? Talk: AVA Test Runner - A fresh take on JavaScript Testing and Growing An Open-Source Project Keynote: State of JavaScript 2017 Lightning Talk: In 15 minutes you can build an API with LoopBack Lightning Talk: Using React Native to Create a Reusable Mobile App Architecture Talk: 5 Architect [...]

Photo by: Carolin Zöbelein Feeling inspired to create a NodeJS command-line script to solve a specific issue? Do you want to ship your command-line as an installable package? It should be simple, right? Fortunately, it is! Here is a concise guide on things we should do to create a NodeJS command-line package. This guide will walk you through the creation, mapping, and linking of a NodeJS command-line script. 1. Create a NodeJS package Before doi [...]

Earlier Drupal versions have a hook system, a way of letting other developers write code that interacts with core code in a clean and organized manner. System events are defined, and when they occur, the entire application is notified, and all the code associated with the event is run. The hook system is based on the naming and definition of functions. When certain events occur, e.g. a form has been built, a node is being inserted into the datab [...]

Animation is king in the 21st century. When you look around, you could almost see real world objects interpreting as digital animations. Ever noticed how futuristic movies have moving images in newspapers? Or the animated hologram commercials on streets? This is because businesses cannot and will not resist leveraging on the attention and attraction of humans to moving objects. Marketing has been the biggest income generator for businesses... The [...]

The heart of Drupal 8 is the DrupalKernel, an extension of the HttpKernel component from Symfony. The documentation beautifully summarizes its purpose: The HttpKernel component provides a structured process for converting a Request into a Response by making use of the EventDispatcher component. The HttpKernelInterface only provides a single method, handle(), which is where the seemingly magical process of converting a Request to Response takes [...]

Introduction Management of site settings has been a challenge ever since the early days of the Drupal project. What is managed as configuration is often difficult to differentiate from the content. General site information is not the same as taxonomy vocabularies, terms, menus, or blocks. Earlier versions of Drupal store a variety of settings as variables which are managed with variable_get(), variable_set() and variable_del() functions. Drupa [...]

Definition A Drupal 8 application has several objects, some of which specialize in the performance of specific tasks across the system, e.g. logging, mailing, authentication, etc. There might even be a simple object with a couple of methods to be shared by other classes. These objects are called services. Then, there is a service container which is a special object that holds or contains all the services in the application. The Symfony Dependency [...]

Overcome your JavaScript tooling fears and build a modern front end for your Rails app. Set up, build and deploy a Rails/React SPA with front end routing that still relies on good old ActiveRecord with absolutely no time wasted on configuration. (If you prefer to go to the repo right away, follow this link) You do not have to to be afraid of JavaScript anymore From inside of Ruby/Rails “omakase” bubble, modern JavaScript territory looks like the [...]

Usually, web applications do one thing. A browser makes a request for a resource and the server replies with a response. It is Request in, Response out. With a centralized request-handling mechanism, all requests pass through a single handler which kicks off a workflow doing things like authentication, authorization, or logging, until the resource is located and returned to the request agent, usually a web browser. This is the front controller [...]

No matter how you try to run from it, developers often find themselves on the command line so if you have always told yourself that the CLI sucks, then I think it is time to embrace it and stop having a terminal that looks like this: A bland default macOS terminal Think of that more as sticking to the default terminal configuration rather than the actual look of the terminal. You could have such a minimalist but powerful terminal. You m [...]

Scale your
Development team

We help you execute projects by providing trusted developers who can join your team and immediately start delivering high-quality code.

Hire Developers
code