Hello World Dev Conference
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 從0開始打造企業級元件及低代碼平台 - 楊勝堡 (湯姆羊) & 黃添賜 (阿賜) {%hackmd @HWDC/BJOE4qInR %} >#### 》[議程介紹](https://hwdc.ithome.com.tw/2024/session-page/3221) >#### 》[填寫議程滿意度問卷|回饋建言給辛苦的講者](https://forms.gle/eyghE5r6axwGdVN1A) 簡報連結:https://www.slideshare.net/slideshow/hwdc-2024-0-x/271728813 # 前言 開發過程中,一個團隊project的數量‘會越來愈多。但是開發量能會有上限,所以這次想要推低代碼平台與公用元件庫來解決,專案越來越多衍生的問題。 ## 理想中的元件庫 ## 收斂的解決方案 * 建立Design Guideline的元件庫 * 移除外部元件庫 * 建立元件portal ## Design guideline x 元件庫 - Atomic Design * 從最初不可被分割的元件開始 ![image](https://hackmd.io/_uploads/r1ybGR0hA.png) * 外部元件的使用量 * 用來得知需要重視哪些元件 * 表單元間佔了>80% ## Design Guideline - 分層架構圖 ## 移除外部元件 * 前導專案 * 其他專案 ## 移除後的差異比較 * 統一元件樣式 ## 元件portal * 能在單一頁面查找全部的元件、 * 希望文件永遠在最新的狀態 開發時注重的重點 * 元件展示 * SVG素材下載 * 更新記錄 * 問題回報 * !!避免重工!! ## 文件同步機制 ## 文件同步機制 - 載入範例程式碼 # 元件實踐與開發秘辛 ## 痛點一:程式一改,測試就要重寫 ### 視覺化測試 * 把每個區塊都各自命名 ![image](https://hackmd.io/_uploads/BJmE40Cn0.png) [前端測試指南:策略與實踐]( https://www.tenlong.com.tw/products/9786263338746) 這本書解決滿多痛點,這不是業配。推薦 ## 痛點二:不是改個小功能嘛?怎麼程式碼差異這麼大? 開發中: * eslint * prettier 提交程式碼時 * husky * lint-staged ## 痛點三:元件庫發布後,在舊版的瀏覽器跑版很嚴重 - stylelint - 可以提醒在舊版的瀏覽器不支援 # Code to low code ## 套件領域展開 * 展開特定空間領域範圍,在範圍中**擴大自身的特色及各種優勢規則* # Code to low code ## 擴展目標 * 期望可以拖曳組成畫面 ## 平台功能組成 * 在畫面上可以拖拉然後組成網頁內容 * 產生之後可以動,可以用來產生程式碼 * 最後可以希望自動部署 ## Build * 需要有原料 * 非元件庫以外的東西之後才作 * 要有畫布 * 要有設置器 * 最後產出描述檔sschema.json ## 原料區 - 原料區 - 分子區 ## 渲染 跨iframe拖拉遇到的問題 ### 解決辦法 1. 沒辦法偵測到drop事件:多墊一層layer 2. 無法知道drop的定位 - `postMessage()`` ### 舊作法 * 每一個拖拉元件都是用JSON儲存 * 節點量多的時候效能不好 ### 新作法 * 改用class * 每次 * 導入ngrx進行狀態管理 ## 平台工作流 ## 什麼是原理圖 * 有來原有複製需你的,修改,建立實體 ## Generate ## 畫面展示 ## AI in lowcode ## RAG 會導入RAG,目前還在研究中。 ## Lowcode within RAG # 沒有最好,只有更好 綁定資安,弱掃 # Q&A Q:你們做出來的元件庫黎production有多遠?以前做出來的東西不能deploy,導致最後脫軌。一個團隊要求大家都用同一個團隊,你怎麼push這個? A:現在主要處理前端切版。還在路上。 A:我們前端們目前集中在同一個pool幫所有專案做開發,所以沒有這個問題 Q:發想到現在的時間和團隊成員 A:去年6,7月元件庫成熟。全新投入的人約3個前端,0.5個UX ==聊天區==

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully