Giter VIP home page Giter VIP logo

cloudaccounting's People

Contributors

ntub46010 avatar

Stargazers

 avatar

cloudaccounting's Issues

物件表

製作一個表格,用來存放、管理特定類別的物件。表格擁有的欄位會隨傳入的類別而有不同,物件的各個屬性值將會被拆分在不同欄位。另外取出物件時,需能轉回為原本的類別物件。如此一來,就不需使用3個Map,根據不同屬性來對應到會計科目。

資料庫處理層

新建類別做為資料庫處理層,將原先Activity中對Firestore的存取操作寫在這裡。並且在進行資料的前處理後,利用自定義的Callback方法回傳,盡量讓Activity接收到的資料已經是可直接使用的形式。

帳號設定畫面

登入後可從首頁的一個按鈕進入帳號設定畫面。透過Email註冊的使用者,可填寫暱稱、Email與密碼。若透過其他方式註冊,則只能填寫暱稱,Email以文字呈現。另外,註冊畫面亦須補上確認密碼欄位。

使用列舉

比如使用者註冊的方式有Email、Facebook與Google,或是會計科目編號的第一碼可分為五大類別。為因應未來功能開發,使用列舉可方便在程式中進行條件判斷。

資料驗證流程整合

原先的資料驗證是透過Verifier物件,在主程式中一次只檢查一個欄位。現將檢查各個欄位的流程整合,比方說要驗證會計科目資料,則提供如verifySubject(Subject)的公開方法。至於內部的驗證過程,則透過定義好的私有方法逐一實作。

帳號設定功能

實作編輯帳號資料的功能。使用Email註冊者,能夠修改暱稱與密碼。其他使用者只能修改暱稱。無論編輯什麼資料,皆須輸入原密碼進行驗證。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.