rzbdz / wechat_miniprog_gtd Goto Github PK
View Code? Open in Web Editor NEW当今社会,每个人都有很多任务要处理。根据 GTD 理论,能马上完成的事情必须尽早完成,能马上开始的事情必须尽早开始,能外包的事情绝不自己做,一下子做不完的事情 DDL 没到之前能不做就不做。
当今社会,每个人都有很多任务要处理。根据 GTD 理论,能马上完成的事情必须尽早完成,能马上开始的事情必须尽早开始,能外包的事情绝不自己做,一下子做不完的事情 DDL 没到之前能不做就不做。
使用 wx local storage 实现,因为用户会用不同的设备使用,所以每个 local cache 都要具备校验码,每次首先向云查询一下校验码(say 一个 timestamp),然后实现都很常规了。
增量同步,实时同步,需要具对着云开发的数据库各种精细操作来做,时间关系暂时没办法花时间做这部分
需要补充对引用程序的使用模式的详细说明,其是基于 GTD 理论,但是 GTD 不主张管理 DDL。
根据 README:
能马上完成的事情必须尽早完成,能马上开始的事情必须尽早开始,能外包的事情绝不自己做,一下子做不完的事情 DDL 没到之前能不做就不做。
但是这个说法不是正统 GTD 理论,是带有‘包TODO’(本应用拟定名称)特色的 GTD 理论,需要补充详细的说明。
Less data transferring between pages
由于 entry detail 在两个页面都用到,涉及数据的问题,以及不想复制粘贴,尽量复用,所以需要单独写一个 component 才能实现。
单个 tag 的表达能力有限
一般来说单个任务必须要具备细节备注信息,包括地点,需要注意的资料马克等。
由于微信审核不支持提交 ‘敬请期待’ 功能,所以目前只在 wxml 中实现了简单的空间,通过 wx:if 隐藏了。
对于提示来说本来就要每个部分做到,比如 Calendar 控件进行选择,任务的最大可选 due date 不能超过项目的 due date,due date 有不能早于 trigger date
现在的数据类型都是用 js 的无参数闭包函数做 ctor,但是这样无论是从云函数/后台序列化出来还是其他操作都涉及构造大量无用空字符串。
应该采用 arguments 来实现重载:
StackOverflow: How to overload constructor of an Object in JS (Javascript)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.