PHP infomation
ChienI Kao 筆記網站 JHTNT 筆記網站 # PHP 的用途概要 PHP 主要用於製作網頁應用程式 (Web Application) HTML 無法做到的依 Request 內容變化處理,但是 PHP 程式可以製作。 JavaScript 程式更擅長在瀏覽器上就能解決的處理。 程式語言與程式 網頁應用程式示意圖 透過瀏覽器與網站伺服器使用網頁應用程式 Request 與 Response 網頁應用程式需進行的處理 # 建立開發環境 安裝之後你的電腦就是伺服器,具備了開發網頁應用程式時必備的網站伺服器和資料庫管理系統等軟體。 裡用 XAMPP...
more...What is API?
ChienI Kao 筆記網站 JHTNT 筆記網站 # API 介紹: https://www.hububble.co/blog/api 引用文 https://aws.amazon.com/tw/what-is/api/ # 什麼是 API? API 是使用一組定義和協定讓兩個軟體元件彼此通訊的機制。舉例來說,氣象局的軟體系統包含有每日的天氣資料。您手機中的天氣應用程式會透過 API 與此系統「交談」並且在您的手機顯示每日天氣的最新消息。 # API 代表什麼意思? API 代表應用程式開發介面。在 API...
more...Maven - create project
ChienI Kao 筆記網站 JHTNT 筆記網站 # Maven download https://maven.apache.org/download.cgi # 環境變數設定  # 確認有安裝好 Maven mvn -v mvn -version # Create Project Cmd mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app...
more...Java spring boot 串接資料庫
ChienI Kao 筆記網站 JHTNT 筆記網站 資料庫串接檔案配置 檔案路徑: ruoyi-admin/src/main/resources/application.yml ruoyi-admin/src/main/resources/application-druid.yml # 資料庫搜尋 開始撰寫前,記得檢查資料庫配置文件是否修改正確! # 信息操作處理 檔案路徑: ruoyi-admin/src/main/java/com.ruoyi/web/controller/system 創建檔案:...
more...Java spring boot 框架概念
ChienI Kao 筆記網站 JHTNT 筆記網站 利用若依管理系統程式內容進行延伸撰寫,可以先 clone 若依管理系統的程式,方便跟上後面描述 (待附上連接) IDE: intellij API 測試工具: Postman (與 swagger 差異待比較) SQL Sever: MySQL/Xampp phpmyadmin # 檔案結構
more...111. Minimum Depth of Binary Tree
⭐️ # 題目敘述 Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. Note: A leaf is a node with no children. # Example 1 Input: root = [3,9,20,null,null,15,7] Output: 2 # Example 2 Input: root =...
more...2024. Maximize the Confusion of an Exam
⭐️⭐️⭐️ # 題目敘述 A teacher is writing a test with n true/false questions, with 'T' denoting true and 'F' denoting false. He wants to confuse the students by maximizing the number of consecutive questions with the same answer (multiple trues or multiple falses in a row). You are given a...
more...1493. Longest Subarray of 1's After Deleting One Element
⭐️⭐️⭐️ # 題目敘述 Given a binary array nums , you should delete one element from it. Return the size of the longest non-empty subarray containing only 1 's in the resulting array. Return 0 if there is no such subarray. # Example 1 Input: nums = [1,1,0,1] Output: 3 Explanation: After deleting the...
more...