Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 31.12.2019, 04:18   #1  
Blog bot is offline
Blog bot
22,757 / 778 (71) +++++++
Регистрация: 28.10.2006
Navigate Into Success: Control Add-ins Supercharged: Development and production build tasks

I’ve been absent for a while – sometimes it’s difficult to find time for blogging even when I want it. Anyway… here’s the last post in the introductory series of posts that explain my NAV TechDays 2019 demos. In this code example, I explain the difference between typical development and production build configurations, and I show how to configure gulp accordingly.

To check the code example, and to read the detailed explanations of it, jump over to

Development and production configurations are not an intuitive thing for AL people. However, in the world of C# or JavaScript (or most other programming languages for that matter), you can’t really live without them. Since control add-ins are more about web than about AL, you’ll want to set up these different build configurations.

Typically, you’ll want a development build that’s optimized for development and debugging, and a production build that’s optimized for run-time and performance.

Luckily, it’s very easy to configure gulp to do this for you. And that’s what today’s code example illustrates. You’ll create two separate tasks. Each of these produces a bundle that targets a different need.

On top of that, I also give some simple guidance and hints about a few JavaScript practices.

As I said – this concludes the introductory part. With this, we are done with traditional JavaScript. For better part, we’re done with gulp, too. While I’ll use gulp in future examples, too, it will do much less transformation, and will mostly automate moving files between different workspaces.

Also, in my future examples, I’ll focus on more modern JavaScript as well as modern UI frameworks and toolchains.

Happy coding, and let me know if you find this series useful.

Read this post at its original location at, or visit the original blog at 5e33c5f6cb90c441bd1f23d5b9eeca34The post Control Add-ins Supercharged: Development and production build tasks appeared first on

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Navigate Into Success: Getting started with gulp and VS Code Blog bot NAV: Blogs 0 03.02.2019 19:11
Navigate Into Success: Database deployment of add-ins in NAV 2016 is broken, big time Blog bot Dynamics CRM: Blogs 0 25.01.2016 16:24
Navigate Into Success: A few thoughts around assembly naming and versioning for NAV Blog bot Dynamics CRM: Blogs 0 21.12.2015 09:46
dynamics-ax-dev: Copying a Production Environment into a Development/Test Environment Blog bot DAX Blogs 0 02.12.2010 00:11
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 20:56.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.