Comments (7)
CC @sockeqwe
Let's plan things here. I'm up for a catch-up call this evening. @quiro91 ?
from squanchy-android.
from squanchy-android.
What do you think about the following folder strategy (assuming Services have not been renamed to Repositories yet):
- app
- schedule (just a folder)
- schedule-service (java lib gradle module that basically contains just the
ScheduleService
interface; depends onschedule-domain
) - schedule-service-firestore ( android lib gradle module; depends on
schedule-service
) - schedule-service-local-db ( android lib gradle module; depends on
schedule-service
; uses local sqlite database) - schedule-domain (java lib gradle module containing classes like
Day
,Event
etc.) - schedule-presentation (android lib containing presentation / UI like
SchedulePageView
; depending on schedule-service)
- schedule-service (java lib gradle module that basically contains just the
The same pattern could be applied to other "features / services" like search, speaker, favorites and so on.
app module then does all the dependency injection stuff and each conference can decide which scheduler-service implementation to use (schedule-service-firestore or schedule-service-local-db)
What do you think?
from squanchy-android.
Seems like a reasonable division. We can iterate on things again later on if we see it doesn't work well for schedule!
from squanchy-android.
Cool, I'm working on it. Will come back with a pull request soon.
from squanchy-android.
That's great, thanks Hannes :)
from squanchy-android.
We don't really need to modularise urgently for instant apps, since the limit is 10 MB and we're well below that, but we should focus on providing instant app capabilities!
from squanchy-android.
Related Issues (20)
- Search loses current query when going to a session result
- Crash on bad network when running Auth
- Crash on null being returned by Firestore
- Clicking on Speaker's twitter icon is broken (failing with "User not found") HOT 2
- Modularization or forking HOT 4
- Is it ok to add a Sponsors section? HOT 2
- Migrate Joda time to JSR-310 HOT 1
- Project Logo HOT 5
- :com.google.android.gms.dynamite_dynamitemodulesc@[email protected] (040700-215406870) line 80
- Description has too small area if title of talk is too long HOT 1
- Event details: Favourite FAB state is lost after opening search HOT 6
- No notifications for the favourite sessions HOT 1
- Firebase Firestore is changing the way how Date are handled (from Date to Timestamp). HOT 3
- App bootstrap package for offline first launch HOT 2
- Add remoteconfig option to disable Firestore persistence
- Provide formatters via dependency injection
- Finalize analytics opt out UI/UX
- Migrate to Algolia Kotlin SDK
- Crash when opening AboutActivity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squanchy-android.