๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

728x90

Develop Study ๐Ÿ’ป

(106)
react (ํŽŒ) ์ด๋ฏธ์ง€ ๊ฒฝ๋กœ www.freecodecamp.org/news/react-background-image-tutorial-how-to-set-backgroundimage-with-inline-css-style/ React Background Image Tutorial – How to Set backgroundImage with Inline CSS Style Let's look at how you can add background images to elements in React using the inline CSS method www.freecodecamp.org britny-no.tistory.com/21 react์—์„œ ์ด๋ฏธ์ง€ ๊ฒฝ๋กœ ๋ฌธ์ œ Module not found: You attempted to import ../i..
[React] ์กฐ๊ฑด๋ถ€ ๋ Œ๋”๋ง / ํŠน์ • url์ผ๋•Œ ๋ Œ๋”๋ง / ์ฐธ๊ณ  ko.reactjs.org/docs/conditional-rendering.html ์กฐ๊ฑด๋ถ€ ๋ Œ๋”๋ง – React A JavaScript library for building user interfaces ko.reactjs.org
[javascript] ํ˜„์žฌ url parameter ๊ฐ€์ ธ์˜ค๊ธฐ / ๋งจ ๋’ค์—๊ฒƒ / ์•ž์—๊ฑฐ / ์ผ๋ถ€๋ถ„ ๊ฐ€์ ธ์˜ค๊ธฐ ํ˜„์žฌ url ๊ฐ€์ ธ์˜ค๊ธฐ var url = document.location.href; console.log(url); url ์ผ๋ถ€๋ถ„ ๊ฐ€์ ธ์˜ค๊ธฐ var para = document.location.href.split("?").reverse()[0]; // ๋งจ ๋’ค ํŒŒ๋ผ๋ฏธํ„ฐ ๊ฐ€์ ธ์˜ค๊ธฐ console.log(para); //์ผ๋ถ€๋ถ„ ๊ฐ€์ ธ์˜ค๊ธฐ (https://test1/test2/test3 ์ผ๋•Œ) var para = document.location.href.split("/").reverse()[1]; console.log(para); // test2
ํŽŒ) ์ปดํŒŒ์ผ๋Ÿฌ ์—๋Ÿฌ ๋ชจ์Œ seongth.tistory.com/16 ์ปดํŒŒ์ผ๋Ÿฌ ์—๋Ÿฌ_๊พธ์ค€ํžˆ ์—…๋ฐ์ดํŠธ์ค‘ ๋งจ๋‚  ๋œจ๋Š” ๊ฒƒ๋“ค ๋ชจ์Œ. ๋‚˜๊ฐ™์ด ๋ฉ์ฒญํ•œ ์ธ๊ฐ„์€ ์ด๊ฑฐ ๋‹ค ์ €์žฅํ•ด๋‘๊ณ  ๋˜ ๋œจ๋ฉด ์ด๊ฑฐ ์ฝ๊ณ  ์ˆ˜์ •ํ•ด์ค˜์•ผํ•จ. warning: implicit declaration of function '~~~' ํ•จ์ˆ˜ ์„ ์–ธ์„ ์•„๋ž˜์— ํ•ด๋‘๊ณ  ๊ฐ€์ ธ๋‹ค ์“ธ๋•Œ. ์œ„๋กœ ์˜ฌ๋ฆฌ๋ฉด ํ•ด seongth.tistory.com
ํŽŒ) ์ข‹์€ git commit ๋ฉ”์‹œ์ง€๋ฅผ ์œ„ํ•œ ์˜์–ด ์‚ฌ์ „ blog.ull.im/engineering/2019/03/10/logs-on-git.html ull.im ์šธ๋ ค ํผ์ง€๋‹ค. ๋ฐ˜ํ–ฅํ•˜๋‹ค. ๊ณต๋ช…ํ•˜๋‹ค. blog.ull.im 'ใ„ฑ'ํ•˜์ž...
Node.js + MySQL study ์ผ์ง€ 1 ์ƒํ™œ์ฝ”๋”ฉ ๊ฐ•์ขŒ ์ด์šฉ ์ž‘์—…ํ™˜๊ฒฝ ์„ธํŒ… github.com/web-n/node.js-mysql/releases/tag/1 Release 1 · web-n/node.js-mysql github.com ์ œ๊ณต๋˜๋Š” ๊ธฐ๋ณธ ์†Œ์Šค๋ฅผ ๋‹ค์šด ํ›„ ํ•™์Šตํ•œ๋‹ค. opentutorials๋ผ๋Š” ์ƒˆ๋กœ์šด ๋””๋น„๋ฅผ ์ƒ์„ฑํ•ด ์คŒ (์ „ MySQL study์—์„œ ์‚ฌ์šฉํ–ˆ๋˜ firstDatabase๋„ ๋ณด์ธ๋‹ค ๐Ÿคญ) ์‚ฌ์‹ค ๋“ค์–ด๊ฐ€๋Š” ํ…Œ์ด๋ธ”์ด๋‚˜ ๋ฐ์ดํ„ฐ๋Š” ๊ฐ™์œผ๋‚˜ ๋‹ค์‹œ ํ•˜๋Š”๊ฒŒ ๊น”๋”ํ• ๊ฑฐ๊ฐ™์•„ ์ฒ˜์Œ๋ถ€ํ„ฐ ๋”ฐ๋ผ๊ฐ€๊ธฐ๋กœ ํ–ˆ๋‹ค . npm : node.jsd์˜ package manager ํ„ฐ๋ฏธ๋„์— npm install์„ ํ•˜๋ฉด package.json์„ ์ฐพ์•„๊ฐ€๊ณ  dependencies(์‚ฌ์šฉํ•˜๊ณ ์žˆ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ง€์ •)๋ฅผ ํ™•์ธํ•ด ํ•„์š”ํ•œ ๊ฒƒ์„ node_modulseํŒŒ์ผ์— ์ž๋™์œผ๋กœ ๋‹ค์šด๋ฐ›์•„ ..
MySQL study์ผ์ง€ 4 ๊ด€๊ณ„ํ˜• DataBase ์žฅ) ์ค‘๋ณต๋œ ๋ฐ์ดํ„ฐ ๊ฐ’์„ ์ค„์ผ ์ˆ˜ ์žˆ์œผ๋ฉฐ์œ ์ง€๋ณด์ˆ˜์— ๋Šฅํ•˜๋‹ค ๋‹จ) ์ง๊ด€์ ์ด์ง€ ์•Š์Œ. ํ…Œ์ด๋ธ” ๋ถ„๋ฆฌ๋ฅผ ์™„๋ฃŒํ–ˆ๋‹ค. JOIN SELECT * FROM [ํ…Œ์ด๋ธ”๋ช…] LEFT JOIN [์กฐ์ธํ•˜๋Š” ํ…Œ์ด๋ธ”๋ช…] ON [์กฐ๊ฑด] ์ด๋ ‡๋“ฏ ๊ฐ ํ…Œ์ด๋ธ”์„ JOINํ•˜๋Š”๊ฒƒ์€ topic table๊ณผ author table๋งŒ์˜ ์—ฐ๊ฒฐ์„ ์˜๋งˆํ•˜๋Š”๊ฒƒ์ด ์•„๋‹ˆ๋‹ค. ๊ฐ topic table์˜ ๋ฐ์ดํ„ฐ์— comment๋ฅผ ์ถ”๊ฐ€ํ•œ๋‹ค๊ณ  ํ•˜๋ฉด ๋™์ผํ•œ ๋ฐฉ์‹์œผ๋กœ JOINํ•˜๋ฉฐ ๋ฐ์ดํ„ฐ๋ฅผ ํ‚ค์›Œ๋‚˜๊ฐˆ ์ˆ˜ ์žˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š”๋ฐ ์žˆ์–ด์„œ ์ค‘๋ณต์„ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ์ˆ ์€ ํ˜์‹ ์ด์—ˆ๋‹ค. ์ธํ„ฐ๋„ท๊ณผ DB์˜ ๊ด€๊ณ„ ๋…ธํŠธ๋ถ ๋‹จ 2๋Œ€๋งŒ์œผ๋กœ ์ธํ„ฐ๋„ท์˜ ์ •์˜๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค. - ์š”์ฒญํ•˜๋Š” ์ปดํ“จํ„ฐ (client), ์š”์ฒญ๋ฐ›์€๊ฒƒ์„ ์‘๋‹ตํ•˜๋Š” ์ปดํ“จํ„ฐ(server) MySQL ์„ค์น˜์‹œ da..
Mysql study์ผ์ง€ 3 www.mysqltutorial.org/mysql-update-data.aspx UPDATE UPDATE [tabe_name] SET [์ˆ˜์ •ํ•˜๋Š”๋‚ด์šฉ] WHERE [์กฐ๊ฑด] WHERE๋ฌธ์„ ๋น ํŠธ๋ฆฌ๋ฉด ๋งค์šฐ ํฐ์ผ...(์žฌ์•™)์ด ์˜ฌ ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ ์กฐ์‹ฌํ• ๊ฒƒ ํŠน์ •๋ถ€๋ถ„ ์—…๋ฐ์ดํŠธ๊ฐ€ ์•„๋‹ˆ๋ผ ์ „์ฒด ๋‹ค ๋ฐ”๋€” ์ˆ˜๋„ ใ… ใ… ! DELETE DELETE FROM [์‚ญ์ œํ•˜๊ณ ์ž ํ•˜๋Š” ํ…Œ์ด๋ธ”๋ช…] WHERE [์‚ญ์ œํ•˜๋Š” ์กฐ๊ฑด]

728x90