Home » Archives for Dani Buiza

Author Archives: Dani Buiza

Daniel Gutierrez Diez holds a Master in Computer Science Engineering from the University of Oviedo (Spain) and a Post Grade as Specialist in Foreign Trade from the UNED (Spain). Daniel has been working for different clients and companies in several Java projects as programmer, designer, trainer, consultant and technical lead.

TypeScript example using RequireJS

1. TypeScript with RequireJS In this article we are going to explain how to create a TypeScript application and separate its components in modules. After that we are going to show how to load these modules using AMD with RequireJS and the TypeScript compiler options to support it. All code and examples used in this tutorial are available in the ...

Read More »

RequireJS Optimizer Example

1. RequireJS RequireJS is an AMD JavaScript library that supports asynchronous file and module loading. It is optimized for web browser usage but it is also possible to use in Java or Node environments. It is compatible with all main browsers and quite intuitive to use. Its main benefit is that it offers the option to logically structure an application ...

Read More »

RequireJS shim example

Table Of Contents 1. RequireJS 2. Shim 3. Example non AMD 4. Download 5. Links 1. RequireJS RequireJS is an AMD JavaScript library that supports asynchronous file and module loading. It is optimized for web browser usage but it is also possible to use it in Java or Node environments. It is compatible with all main browsers and quite intuitive ...

Read More »

Grunt RequireJS Example

Table Of Contents 1. Grunt 2. RequireJS 3. Grunt with RequireJS 4. Example 5. Summary 6. Download 7. Links 1. Grunt The main pre requisite that you need in order to follow this example is to have NodeJS installed in your environment. You can check the installation instructions here https://nodejs.org/en/. Grunt is a JavaScript based task runner. It is quite ...

Read More »

RequireJS Tutorial – How to use RequireJS

Table Of Contents 1. What is require JS? 2. What is AMD? 3. Configuration 4. Require 5. Define 6. Module loading error handling 7. Optimizations 8. Plug-ins 8.1 text 8.2 domReady 8.3 i18n 8.4 CSS 9. Creating libraries using RequireJS 10. Conclusions 11. Download 12. Links This article is about RequireJS, it describes its main features and what specification it ...

Read More »