Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49085

How do you organize your larger scale apps?

$
0
0

Some of you are aware, I’m trying to build a modular PWA with possible native ports. I read about different approaches but I’m not clear on organizing pages. Ionic/Angular’s (for me) new routing supports leveled routing but this makes the organization very distributed. Let me ask with an example:

Hierarchical

/app/pages/
-- module1
---- list
------ detail
---- search
------ results

(Semi-)Flat

/app/pages/
-- module1
---- list
---- list-detail
---- search
---- search-results

For modularity, module1, module2, … should be at the top level routing, but with hierarchical organization with sub pages can get deep resulting in long URLs, distributed routing etc.

/app/pages/
-- Company
---- Department1
------ Archives
-------- Documents
---------- :Document
-------- Images
---------- :Image
-------- Videos
---------- :Video

I can see both do work, but I wanted to hear your ideas/expertise…

Thank you in advance…

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>