ntub46010 / cloudaccounting Goto Github PK
View Code? Open in Web Editor NEW此為Android App,主題為簡易會計帳簿,希望可作為個人日常記帳之用。後端使用Google Firebase的資料庫與帳號管理功能。
此為Android App,主題為簡易會計帳簿,希望可作為個人日常記帳之用。後端使用Google Firebase的資料庫與帳號管理功能。
製作一個表格,用來存放、管理特定類別的物件。表格擁有的欄位會隨傳入的類別而有不同,物件的各個屬性值將會被拆分在不同欄位。另外取出物件時,需能轉回為原本的類別物件。如此一來,就不需使用3個Map,根據不同屬性來對應到會計科目。
新建類別做為資料庫處理層,將原先Activity中對Firestore的存取操作寫在這裡。並且在進行資料的前處理後,利用自定義的Callback方法回傳,盡量讓Activity接收到的資料已經是可直接使用的形式。
登入後可從首頁的一個按鈕進入帳號設定畫面。透過Email註冊的使用者,可填寫暱稱、Email與密碼。若透過其他方式註冊,則只能填寫暱稱,Email以文字呈現。另外,註冊畫面亦須補上確認密碼欄位。
比如使用者註冊的方式有Email、Facebook與Google,或是會計科目編號的第一碼可分為五大類別。為因應未來功能開發,使用列舉可方便在程式中進行條件判斷。
原先的資料驗證是透過Verifier物件,在主程式中一次只檢查一個欄位。現將檢查各個欄位的流程整合,比方說要驗證會計科目資料,則提供如verifySubject(Subject)的公開方法。至於內部的驗證過程,則透過定義好的私有方法逐一實作。
實作編輯帳號資料的功能。使用Email註冊者,能夠修改暱稱與密碼。其他使用者只能修改暱稱。無論編輯什麼資料,皆須輸入原密碼進行驗證。
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.