Reiner Saddey
Posts: 0
Joined: Sun Feb 17, 2013 7:19 am

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

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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.

Reiner Saddey
Posts: 0
Joined: Sun Feb 17, 2013 7:19 am

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

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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?

Reiner Saddey
Posts: 0
Joined: Sun Feb 17, 2013 7:19 am

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

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...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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?

Reiner Saddey
Posts: 0
Joined: Sun Feb 17, 2013 7:19 am

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

Wow, precisely! Thank you very much, Marina!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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

Reiner Saddey
Posts: 0
Joined: Sun Feb 17, 2013 7:19 am

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

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

Return to “Issues”