Page 1 of 2

Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 12:53 am
by Reiner Saddey

Tiggzi gives a head start for building apps. However, at some point, certain knowledge is required to achieve production quality applications.

Right now I'm wondering why Tiggzi generates artificial ids instead of using names (as set within GUI builder) for ids.

What's the benefit of this approach?


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 1:59 am
by maxkatz

This is needed because inside an iteration, the id must be unique (in the DOM) but dsid can be repeated. It's used for mapping.


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 8:49 am
by Reiner Saddey

Yep, understood!

But what about uniqueness of ids in general? Does Tiggzi always generate unique ids, or does it enforce uniqueness within iterator scopes only?

Reason for asking is the W3C Html5 validator finds lot of errors, and within these it's some duplicate ids (and yes, he's right, there are duplicates, probably violating Html5 specs) that's somewhat frightening.

Thus, might this be a bug, or is it my responsibility to assign unique names in the first place and should ids be unique provided names are unique?


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 9:29 am
by Maryna Brodina

Hello! id should be always unique. You can't manipulate ids. If id is not unique it's a code generation bug. Could you please make your app link public so we can take a look?


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 9:35 am
by Reiner Saddey

The app is at http://bpwwerkstatt3.tiggzi.net
I'll share the project itself too
I do notice some glitches within footer's navbar behavior on page transitions, and suspicously, it's (among others) header and footer ids that are duplicate...


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 9:41 am
by Maryna Brodina

Thank you. Could you clarify what's the "glitches within footer's navbar behavior"? Please take a look here https://getsatisfaction.com/tiggzi/to...

Do you have the same problem?


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 9:55 am
by Reiner Saddey

Wow, precisely! Thank you very much, Marina!


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Wed Feb 27, 2013 2:48 pm
by Maryna Brodina

We'll check issue with uniqueness of ids. I'll update later


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Thu Feb 28, 2013 8:39 am
by Maryna Brodina

Hi, we checked your project - there are indeed duplicated ids, but we can't reproduce it with new project. I reported about this problem.


Are there any white papers covering app builder to app code (e.g. Html5) mapping?

Posted: Thu Feb 28, 2013 8:44 am
by Reiner Saddey

Thanks, I'll try a backup - import into new project (might not work, but just trying won't harm)