# Dojo 2 declarative sintax

**URL:** <https://discourse.dojo.io/t/dojo-2-declarative-sintax/510>\
**Category:** Dojo 2+ users\
**Created:** [August 12, 2020, 10:39am UTC](https://discourse.dojo.io/t/dojo-2-declarative-sintax/510 "2020-08-12T10:39:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chusvp](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@chusvp](https://discourse.dojo.io/u/chusvp)\
**Post date:** [August 12, 2020, 10:39am UTC](https://discourse.dojo.io/t/dojo-2-declarative-sintax/510/1 "2020-08-12T10:39:01Z")

</div>

Hello!

I’ve used Dojo 1 several years ago with a great success. I’m no thinking in use version 2+, but I used declarative sintax a lot.

It’s possible to use in Dojo 2+ this kind of sintax? In fact, at last in Dojo 1, I sent a JSON to the browser with the entire page and all the widgets with properties and functions, and the browser with a javascript function, render the app in the client browser, so an entire app used to be about 1-3 Kb only.

It’s possible now with versión 2+?

Thanks

---

<div class="post-metadata">

**Author:** ![dylan](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.dojo.io/dylan/32/5_2.png) [@dylan](https://discourse.dojo.io/u/dylan)\
**Post date:** [August 15, 2020, 10:36pm UTC](https://discourse.dojo.io/t/dojo-2-declarative-sintax/510/2 "2020-08-15T22:36:03Z")

</div>

Certainly possible though it’s quite different as the ecosystem has changed a lot around us. It’s probably easier to pop onto the [Dojo Discord channel](https://discord.com/invite/M7yRngE) sometime and share your example and get some direct guidance.
