반응형
반응형

 IF…ELSE IF…ELSE 

 

https://simplesqltutorials.com/if-elseif-else/

 

The IF…ELSE IF….ELSE Statement: Everything You Should Know

The IF...ELSE structure and the IF...ELSE IF...ELSE structure are the most basic SQL Server Decision Structures you should know.

simplesqltutorials.com

IF(<condition is true>)
BEGIN
<execute some code>
END
ELSE IF(<different condition is true>)
BEGIN
<execute some other code>
END
ELSE
BEGIN
<execute some other other code>
END
반응형
반응형

[HTML] details  summary , jquery로 open 제어

 

<details>

HTML <details> 요소는 "열림" 상태일 때만 내부 정보를 보여주는 정보 공개 위젯을 생성합니다. 요약이나 레이블은 <summary> 요소를 통해 제공할 수 있습니다.

정보 공개 위젯은 보통 레이블 옆의 작은 삼각형이 돌아가면서 열림/닫힘 상태를 나타냅니다. <details> 요소의 첫 번째 자식이 <summary> 요소라면, <summary>의 콘텐츠를 위젯의 레이블로 사용합니다.

 

https://developer.mozilla.org/ko/docs/Web/HTML/Element/details

 

<details> - HTML: Hypertext Markup Language | MDN

HTML <details> 요소는 "열림" 상태일 때만 내부 정보를 보여주는 정보 공개 위젯을 생성합니다. 요약이나 레이블은 <summary> 요소를 통해 제공할 수 있습니다.

developer.mozilla.org

Open 추가

$('details').attr('open','');

 

Opne 제거

$('details').removeAttr('open');

 

$('.info').on('click', 'details', function () {
    $('details').removeAttr('open');
    $(this).attr('open', '');
});

반응형
반응형

https://medium.com/@david_90860/flutter-web-in-2023-is-it-good-for-you-4c2d51129b80

 

My website developed with Flutter: https://keeplist.com/

Before we get started, some transparency about my experience with Flutter.

I am a web developer with 7 years experience in advanced java script + react. Before, I spent 10 years developing windows applications using c++. Yes, i’m a real computer nerd.

A year ago, I started working on a project that had to be cross platform (Android, iOS, Web)

As a JavaScript developer, I developed mobile apps in the past with Android Studio + JAVA that were based on a hybrid WebView. I wanted to get to the next level and build native mobile apps, and learning Kotlin + Swift seemed too complicated.

I started developing with Expo + React Native, but at a early stage I realized Expo has a glass ceiling when it comes to high level features.

I kept reading awesome things about Flutter, and one day while I was at the pool with my son, I decided to jump into the water. Not the pool water, the Flutter water!

With RN (React Native) it took me about 2 months to develop a cross platform sorted list (vertical re-orderable list with drag and drop)

So that’s the first thing I tried with flutter, and it worked pretty great out of the box!

So I decided to start the project with Flutter, and with very little experience in flutter and Dart, everything really ticked amazingly, and I was in love 💕with my new framework.

I can’t even begin to describe how great the Flutter framework is! You get tons of GUI widgets (Components if you are coming from React) That work great and are super easy to work with. Almost every customization you can think of, it’s there! And the documentation from the flutter team at https://flutter.dev/ is excellent. They have short videos for almost every widget in the framework. If you are looking for advanced tutorials, there are tons on youtube. The flutter community has grown very big, and you can find answers instantly on StackoverFlow and videos for every question you have.

My app, developed with Flutter

The developer experience is really top shelf, and the Flutter IDE for VS code is amazing, and you debug super fast with the “hot reload” feature that enables you see to see changes immediately without building again. Flutter is used with Dart, which was developed by Google, and I really love it. Everything in the language just seems so simple and intuitive, and things just make sense to me. I feel like I am using an advanced version of Javascript + TypeScript.

While Dart is a real smooth transition from JavaScript, the Flutter Widget tree takes a while to gets used to. When you see Flutter code for the first time, at least when coming from Javascript or React, you get really confused. There is definitely a learning curve, but as an experienced programmer after a few tutorials I was up and running. And when you get used to it, it’s super powerful and dynamic.

And, of-course, it’s cross platform! While I used it for the Web, Android, and iOS, it also supports Windows, Linux, and MAC! I think Flutter is a game changer in this aspect, because it means that much smaller teams can get apps to the market super fast, and reach a lot of users with support for nearly every device. There are other platforms that claim to do the same, but Flutter is the real deal.

But, things ticked a lot better on mobile than on web. That being said, I still have to say that flutter web is still great, but in my experience just not yet perfect. I am still using it now in production to run my website, and the website looks and feels awesome! But, I did find some difficulties with developing for the web, and I will share them with you at the article.

TEXT IN A FLUTTER WEBSITE IS NOT REAL TEXT 😰

You are reading through this article, and all of a sudden you remember of a sentence you want to copy and paste and send to a friend. What do you do? You simply click ctrl+f, you highlight the text, copy it, and paste on any app you desire. With Flutter web, none of these options are available, because what gets rendered on the screen is not really text, it’s actually an image. So you can’t search in it, you can’t highlight it, and you can’t copy it.

And you also don’t have a built-in browser spell check. Which means that users cannot see if the text they are typing has typos. This might seem as something small to some of you, but it’s actually what bothers me about Flutter web the most. Web users today feel free to type a lot because they know the browser has their back and will fix their typos and show them the nice red underline when they misspell. Also, developing a spell checker as a developer is very hard, especially when your users might type not only in English. There is an open Github Issue for this, but it’s on P4 which means it might take a while before it gets resolved. Regarding the text search feature, this is something that you can develop on your own, if your app has a search feature. But it won’t work for you out of the box.

https://github.com/flutter/flutter/issues/53585

The website takes a few seconds to load 🥱

Users today expect sites to load up immediately, especially on good internet connections. You see a link, you press on it, and you want to something in less than a second. If you don’t get it, you go to the next site. Everything happens super fast. But websites created with flutter, after optimization, take about 3–5 seconds to load, until you see the complete page. If you develop a nice loader (Which you can display using JAVASCRIPT / HTML before the Flutter widgets are loaded) it’s actually not that bad. This is what I did. But if your users use your app or website a lot, the slow loading time will be a bad user experience for them.

My website load

The website feels slow at times 😩

Well, my wife always claims I am super slow. So who am I to complain?

When developing for the web with Flutter, your web app feels high end, and almost all Flutter widgets that look great on the mobile, also look great on the web. They are animated, they are sharp, and generally look great. But, my website feels sluggish at times. Buttons can have delayed response, and also the animations can become slower. Overall, even though a website developed withFlutter can really look amazing, it feels less performant than pure HTML / JAVASCRIPT

UP and down Arrows don’t scroll the page

The keyboard is always faster than the mouse, and users press up and down all the time to scroll the page. Out of the box, this does not work with flutter. Pressing up and down has no effect on the scrollbar. I am assuming you can write code to fix it (Flutter has an awesome widget called GestureDetector) but it doesn’t work out of the box.

SEO

While i’m not an SEO expert, i’m not sure that web engines know how to parse content from Flutter web, espceially due to the fact that it’s not real text. Since Flutter is actually from GOOGLE which is a search company, it stands to reason that this will be solved in the near future, and Google will know how to parse Flutter content.

THE VERDICT

So, Flutter web is obviously not yet mature, and your web users won’t get the best experience out of the box if you use Flutter. While some of the things discussed here can be solved with some custom development, the investment might not be worth it.

So should you develop a website with Flutter in 2023? If you need only a website without mobile apps, the answer is obviously no. There are other Frameworks that are a lot more mature and advanced for the web than Flutter.

But if you are developing an app that needs to be cross platform, the amount of work you will save from using just one codebase is incredible and might be worth it. It really depends on what are your most important platforms and when is your release date. If most of your users will come from the web, I will definitely advise at this point to use some other framework for your website, and Flutter for your mobile apps.

If you are aiming mostly for Mobile users and you are at a stage where you want to get to the market fast, I would advise sticking with Flutter web. Some advanced users might complain and won’t like the user experience, but there is no doubt that the website design will look great and also the animations (Hoping your users have good computers).

Also, the Flutter team are working on improvements all the time, and there is a good chance that a year from now some of the issues mentioned here will be solved. Developing new apps and marketing them takes a while, so it might be worth to be patient. BUT at the same time, when marketing new apps, the user experience must be great out of the box so people will come back. And when they don’t have a spell check and can’t search text, they might be moving to the next alternative.

BIG THANKS TO THE FLUTTER TEAM!

Google really developed something amazing here, and in a few years from now, Flutter can become the most used frontend framework on all platforms, and startups will have their ideas out there super fast.

I can’t really explain how great Flutter is, you need to experience it for yourself to know what I am talking about. So, really, thank you for every person in the Flutter development team, you really developed something great here!

And also a big thank you to Johannes Milke from heyflutter.com, he has some great tutorials on youtube for Flutter! I really learned a lot from watching his videos. (Links are below)

To view my to do list app developed with Flutter, see:

WEB: https://keeplist.com/

Android: https://play.google.com/store/apps/details?id=com.keeplist

iPhone: https://apps.apple.com/app/keeplist/id1626699174

반응형
반응형

그 누구도 아닌 자기 걸음을 걸어라.
나는 독특하다는 것을 믿어라.
누구나 몰려가는 줄에 설 필요는 없다.
자기 걸음으로 자기 길을 가라. 
바보 같은 사람들이 뭐라 비웃든 간에..
- 영화 '죽은 시인의 사회'-

남의 눈을 의식하면 자기를 잃게 됩니다.
한 번뿐인 소중한 내 인생,
남의 눈을 의식하며 살기에는 너무나 시간이 아깝습니다.
그 누구도 아닌 자기 걸음을 걸어가야 합니다.

 

https://www.youtube.com/watch?v=hD3LKqV0O8Q 

 

반응형
반응형

상대방의 말에 온전히 귀 기울이고 있나요?
다른 생각이나 내가 해야 할 말을 생각하느라
상대방의 말을 놓치고 있지 않나요?
당신의 몸이 상대방을 향해 있나요?
상대방의 말을 잘 듣고 있다는 표현,
곧 고개 끄덕임, 눈 맞춤, 미소를 보이고 있나요?
상대방의 말을 정확히 이해하지 못했을 때
그냥 넘어가지 않고 확인하나요?


-  예지은의 《리더라면 한번은 만나게 될 이슈들》 중에서 -


* 어찌 리더에게만 해당되는 질문이겠습니까.
부부, 부모자식, 형제자매, 스승과 제자, 친구, 연인,
동료 사이에도 필요한 질문입니다. 어떤 관계에서도
경청의 자세는 기본 덕목입니다. 이것이 지켜지지 않을 때
오해와 편견, 반목과 질시, 편가르기 등이 난무하게
됩니다. 내 앞, 내 옆의 사람에게
지금 바로 적용해 보십시오.

반응형

'아침편지' 카테고리의 다른 글

우주심(宇宙心)과 에고(Ego)  (0) 2023.07.17
첫사랑  (0) 2023.07.15
60조 개의 몸 세포  (0) 2023.07.13
나에게 하는 아침 인사  (0) 2023.07.12
꺾이지 않는 힘  (0) 2023.07.11
반응형

https://www.mois.go.kr/chd/sub/a05/feteDay/screen.do

 

우리나라 국가상징> 국경일/기념일

기념일 정부에서는 ‘73년 3월 30일 [각종 기념일 등에 관한 규정]을 제정하고 이 영에서 정한 정부 주관 기념일은 기념식과 그에 부수되는 행사를 전국적인 범위로 행할 수 있고 주간이나 월간을

www.mois.go.kr

국경일

국가의 경사로운 날을 기념하는 날입니다.

  • 3.1절 (3월 1일)
  • 국권회복을 위해 민족자존의 기치를 드높였던 선열들의 위업을 기리고 3·1 독립정신을 계승·발전시켜 민족의 단결과 애국심을 고취할 수 있는 날입니다.
  • 제헌절 (7월 17일)
  • 자유민주주의를 기본이념으로 한 대한민국 헌법의 제정을 축하하고 그 이념수호를 다짐하며 준법정신을 앙양할 수 있는 날입니다.
  • 광복절 (8월 15일)
  • 잃었던 국권의 회복과 대한민국의 정부 수립을 경축하고 독립정신의 계승을 통한 국가 발전을 다짐하는 계기가 되는 날입니다.
  • 개천절 (10월 3일)
  • 홍익인간의 개국이념을 계승하고 유구한 역사와 전통을 지닌 문화민족으로서의 자긍심을 고취하고 통일의 의지를 세계만방에 알리며 자손만대의 무궁한 번영을 기원하는 날입니다.
  • 한글날 (10월 9일)
  • 우리 민족사에 가장 빛나는 문화유산인 한글을 반포하신 세종대왕의 위업을 선양하고, 한글의 우수성과 독창성을 대내외에 널리 알려 문화민족으로서 국민의 자긍심을 일깨우는 날입니다.

기념일 날짜

1 2·28민주운동 기념일 2. 28. 국가보훈처 2·28민주운동의 역사적 의미와 숭고한 정신을 길이 계승·발전시키는 행사를 한다.
2 납세자의 날 3. 3. 기획재정부 국민의 성실 납세에 감사(感謝)하고, 세금의 중요성을 알리는 행사를 한다.
3 3·8민주의거 기념일 3. 8. 국가보훈처 ‘3·8민주의거’의 역사적 의미와 숭고한 정신을 길이 계승·발전시키는 행사를 한다.
4 3·15의거 기념일 3. 15. 국가보훈처 3·15의거를 기념하는 행사를 한다.
5 상공의 날 3월 셋째
수요일
산업통상자원부 상공업의 진흥을 촉진하는 행사를 한다.
6 서해수호의 날 3월 넷째
금요일
국가보훈처 서해수호를 위한 희생을 기리고, 국민의 안보의식을 북돋우며, 국토 수호 결의를 다지는 행사를 한다.
7 4·3희생자 추념일 4. 3. 행정안전부 제주4·3사건 희생자를 위령하는 추념 행사를 한다.
8 예비군의 날 4월 첫째
금요일
국방부 모든 예비군이 참가하여 국가방위의 임무를 새롭게 다짐하는 행사를 한다.
9 식목일 4. 5. 농림축산식품부 나무 심기를 통하여 국민의 나무 사랑 정신을 북돋우고, 산지(山地)의 자원화를 위한 행사를 한다.
10 보건의 날 4. 7. 보건복지부 국민보건 향상을 위한 관련 분야의 각종 행사를 한다.
11 대한민국 임시정부
수립 기념일
4. 11. 국가보훈처 3·1운동으로 건립된 대한민국 임시정부의 법통(法統)과 역사적 의의를 기리는 행사를 한다.
12 4·19혁명 기념일 4. 19. 국가보훈처 4·19혁명을 기념하는 행사를 한다.
13 장애인의 날 4. 20. 보건복지부 장애인에 대한 국민의 이해를 깊게 하고, 장애인의 재활 의욕을 높이는 행사를 한다.
14 과학의 날 4. 21. 과학기술정보통신부 과학기술의 중요성을 높이고, 모든 국민생활의 과학화 추진과 관련된 행사를 한다.
15 정보통신의 날 4. 22. 과학기술정보통신부·
방송통신위원회
정보통신의 중요성과 의의를 높이고, 정보통신사업의 발전을 다짐하며, 관계 종사원들의 노고를 위로하는 행사를 한다.
16 법의 날 4. 25. 법무부 국민의 준법정신을 함양하고, 법의 존엄성과 관련된 행사를 한다.
17 충무공 이순신 탄신일 4. 28. 문화체육관광부 충무공 이순신의 숭고한 충의를 길이 빛내는 행사를 한다.
18 근로자의 날 5. 1. 고용노동부 근로자의 노고를 위로하고, 근로의욕을 더욱 높이는 행사를 한다.
19 어린이 날 5. 5. 보건복지부 어린이들이 올바르고 슬기롭고 씩씩하게 자라도록 하는 행사를 한다.
20 어버이 날 5. 8. 보건복지부 조상과 어버이에 대한 은혜를 헤아리고, 어른과 노인 보호와 관련된 행사를 한다.
21 동학농민혁명 기념일 5. 11. 문화체육관광부 동학농민혁명의 역사적 가치와 의미를 재조명하고 애국애족정신을 높이는 행사를 한다.
22 스승의 날 5. 15. 교육부 교권 존중의 사회적 분위기 조성과 스승 공경과 관련된 행사를 한다.
23 5·18민주화운동 기념일 5. 18. 국가보훈처 5·18민주화운동을 기념하는 행사를 한다.
24 부부의 날 5. 21. 여성가족부 건전한 가족문화의 정착과 가족 해체 예방을 위한 행사를 한다.
25 성년의 날 5월 셋째
월요일
여성가족부 국가와 민족의 장래를 짊어질 성인으로서의 자부심과 책임감을 갖게 하는 행사를 한다.
26 바다의 날 5. 31. 해양수산부 바다 관련 산업의 중요성과 의의를 높이고, 국민의 해양에 대한 인식을 북돋우며, 관계 종사원들의 노고를 위로하는 행사를 한다.
27 의병의 날 6. 1. 행정안전부 의병의 희생정신을 기리고, 국민의 나라사랑 정신을 북돋우는 행사를 한다.
28 환경의 날 6. 5. 환경부 국민의 환경보전의식 함양과 실천의 생활화를 위한 행사를 한다.
29 현충일 6. 6. 국가보훈처 호국영령의 명복을 빌고, 순국선열 및 전몰장병(戰歿將兵)의 숭고한 호국정신과 위훈(偉勳)을 기리는 행사를 한다.
30 6·10민주항쟁 기념일 6. 10. 행정안전부 6·10민주항쟁을 기념하는 행사를 한다.
31 6·10만세운동 기념일 6. 10. 국가보훈처 일제의 강제병합과 식민지배에 항거한 순국선열의 숭고한 독립정신과 희생정신을 계승하기 위한 행사를 한다.
32 6·25전쟁일 6. 25. 국가보훈처 6·25전쟁을 상기하여 국민의 안보의식을 북돋우는 행사를 한다.
33 철도의 날 6. 28. 국토교통부 기간(基幹) 교통수단인 철도의 의의를 높이고, 종사원들의 노고를 위로하는 행사를 한다.
34 정보보호의 날 7월 둘째
수요일
과학기술정보통신부·
행정안전부·
국가정보원
국가 차원의 정보보호 역량을 결집하고 국민의 정보보호 생활화를 촉진하는 행사를 한다.
35 푸른하늘의 날 9. 7. 외교부·환경부 유엔 기념일인 푸른 하늘을 위한 국제 맑은 공기의 날을 맞이하여 대기질 개선에 대한 국민의 이해와 관심을 제고하고 대기오염 저감활동에 범국가적인 참여를 촉진하는 행사를 한다.
36 국군의 날 10. 1. 국방부 국군의 위용 및 전투력을 국내외에 과시하고, 국군장병의 사기를 높이는 행사를 한다.
37 노인의 날 10. 2. 보건복지부 경로효친의 미풍양속을 확산하는 행사를 한다.
38 세계 한인의 날 10. 5. 외교부 세계 각지에 거주하는 재외동포의 민족적 의의를 되새기는 행사를 한다.
39 재향군인의 날 10. 8. 국가보훈처 재향군인 상호 간의 친목을 도모하고, 국가발전과 관련된 행사를 한다.
40 체육의 날 10. 15. 문화체육관광부 국민체력 향상을 위한 각종 체전과 아울러 올림픽의 이상(理想)을 구현하는 행사를 한다.
41 부마 민주항쟁 기념일 10. 16. 행정안전부 부마민주항쟁을 기념하는 행사를 한다.
42 문화의 날 10월 셋째
토요일
문화체육관광부 방송·잡지·영화 등 대중매체의 사회적 가치를 새롭게 하고, 문화예술 진흥과 관련된 행사를 한다.
43 경찰의 날 10. 21. 행정안전부 모든 경찰공무원 및 관계관이 참석하여 민주경찰의 사명감 고취와 관련된 행사를 한다.
44 국제연합일 10. 24. 외교부 국제연합 창립과 6·25전쟁 중 국제연합군이 참전한 뜻을 기념하는 행사를 한다.
45 교정의 날 10. 28. 법무부 교정(矯正) 관련 종사자들의 사기를 높이고, 수용자의 건전한 사회복귀 의지를 북돋우는 행사를 한다.
46 지방자치의 날 10. 29. 행정안전부 지방자치에 관한 국민의 관심을 높이고, 그 성과를 공유하는 행사를 한다.
47 금융의 날 10월 마지막
화요일
금융위원회 금융에 대한 국민의 이해를 높이고, 금융의 역할과 책임을 되새기며, 금융권 종사자들의 노고를 격려하는 행사를 한다.
48 학생독립운동 기념일 11. 3. 교육부·
국가보훈처
학생독립운동의 정신을 계승·발전시켜 학생들에게 자율역량과 애국심을 함양시키는 행사를 한다.
49 농업인의 날 11. 11. 농림축산식품부 농업이 국민경제의 근간임을 국민들에게 인식시키고, 농업인의 긍지와 자부심을 북돋우며, 노고를 위로하는 행사를 한다.
50 순국선열의 날 11. 17. 국가보훈처 국권 회복을 위해 헌신하신 순국선열의 독립정신과 희생정신을 후세에 길이 전하고, 선열의 위훈을 기리는 행사를 한다.
51 소비자의 날 12. 3. 공정거래위원회 소비자의 권리의식을 신장하고, 소비자보호에 관한 인식을 높이는 행사를 한다.
52 무역의 날 12. 5. 산업통상자원부 무역의 균형적 발전과 무역입국(貿易立國)의 의지를 다짐하는 행사를 한다.
53 원자력 안전 및
진흥의 날
12. 27. 과학기술정보통신부·
산업통상자원부
원자력 안전의 중요성을 널리 알리고, 원자력 산업의 진흥을 촉진하는 행사를 한다.
반응형

+ Recent posts