728x90

๐Ÿ“˜ Programming 92

[MySQL] ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค(DataBase : DB) ์ด๋ž€? (DBMS, ํŠน์ง•)

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค(DataBase) ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค(DB: database)๋Š” ํ†ตํ•ฉํ•˜์—ฌ ๊ด€๋ฆฌ๋˜๋Š” ๋ฐ์ดํ„ฐ์˜ ์ง‘ํ•ฉ์ฒด๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. ์ด๋Š” ์ค‘๋ณต๋œ ๋ฐ์ดํ„ฐ๋ฅผ ์—†์• ๊ณ , ์ž๋ฃŒ๋ฅผ ๊ตฌ์กฐํ™”ํ•˜์—ฌ, ํšจ์œจ์ ์ธ ์ฒ˜๋ฆฌ๋ฅผ ํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ด€๋ฆฌ๋ฉ๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ, ์—ฌ๋Ÿฌ ์—…๋ฌด์— ์—ฌ๋Ÿฌ ์‚ฌ์šฉ์ž๊ฐ€ ๋ฐ์ดํ„ฐ ๋ฒ ์ด์Šค๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋Š” ์‘์šฉ ํ”„๋กœ๊ทธ๋žจ๊ณผ๋Š” ๋‹ค๋ฅธ ๋ณ„๋„์˜ ๋ฏธ๋“ค์›จ์–ด์— ์˜ํ•ด ๊ด€๋ฆฌ๋ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ์ด๋Ÿฌํ•œ ๋ฏธ๋“ค์›จ์–ด๋ฅผ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ด€๋ฆฌ ์‹œ์Šคํ…œ(DBMS: Database Management System)์ด๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ํŠน์ง• 1. ์‚ฌ์šฉ์ž์˜ ์งˆ์˜์— ๋Œ€ํ•˜์—ฌ ์ฆ‰๊ฐ์ ์ธ ์ฒ˜๋ฆฌ์™€ ์‘๋‹ต์ด ์ด๋ฃจ์–ด์ง‘๋‹ˆ๋‹ค. 2. ์ƒ์„ฑ, ์ˆ˜์ •, ์‚ญ์ œ๋ฅผ ํ†ตํ•˜์—ฌ ํ•ญ์ƒ ์ตœ์‹ ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์œ ์ง€ํ•ฉ๋‹ˆ๋‹ค. 3. ์‚ฌ์šฉ์ž๋“ค์ด ์›ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ๋™์‹œ์— ๊ณต์œ ํ•  ์ˆ˜ ์žˆ..

#10 ๋„ค๋น„๊ฒŒ์ด์…˜ ๋ฉ”๋‰ด(Navigation Menu) Custom(DrawerLayout ์ปค์Šคํ…€ ์˜ˆ์ œ)

package com.example.customnaviexample; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.drawerlayout.widget.DrawerLayout; import androidx.drawerlayout.widget.DrawerLayout.DrawerListener; import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatA..

#9 WebView(์›น ๋ทฐ) - err_cleartext_not_permitted ํ•ด๊ฒฐ๋ฒ•

๋ฉ”๋‹ˆํŽ˜์ŠคํŠธ์— ์ธํ„ฐ๋„ท์„ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•œ ์„ค์ •์ด ํ•„์š”ํ•จ ๋ฅผ ์•„๋ž˜์ฒ˜๋Ÿผ ์ž…๋ ฅํ•ด์•ผํ•จ package com.example.webviewexample; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.KeyEvent; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.webkit.WebViewClient; public class MainActivity extends AppCompatActivity { WebView webView; // url์€ ์ž์‹ ์ด ๋ณด์—ฌ์ฃผ๊ณ  ์‹ถ์€ ์ฃผ์†Œ๋ฅผ ์ž…๋ ฅ String url ..

#8 SharedPreference(์‰์–ด๋“œ ํ”„๋ฆฌํผ๋Ÿฐ์Šค)

package com.example.sharedexample; import androidx.appcompat.app.AppCompatActivity; import android.content.SharedPreferences; import android.os.Bundle; import android.widget.EditText; public class MainActivity extends AppCompatActivity { EditText et_save; String shared = "file"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.la..

๋ฐ˜์‘ํ˜•