일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 영원회귀
- 개인앱
- git
- 라인광고플랫폼
- nestjs
- 스케치데브
- 블랙서바이벌
- nodejs
- 펀널
- 개발자를_위한 #PPT팁
- 구글검색광고
- 페이스북광고
- 스케치퀴즈
- 캐치마인드
- submodules
- 코딩공부
- 카카오톡
- git pull
- 광고플랫폼
- 이터널리턴
- Kotlin
- funnel
- 커리어
- 카카오톡공유하기
- 사이드프로젝트
- 플러터
- Redis
- 토이프로젝트
- 부업
- 메모장앱
- Today
- Total
목록분류 전체보기 (82)
가을기 Workspace
Python의 디자인 철학. The Zen of Python, by Tim Peters (파이썬 철학, 팀 피터스) Beautiful is better than ugly. (아름다운 것이 추한 것보다 낫다.) Explicit is better than implicit. (명확한 것이 함축적인 것보다 낫다.) Simple is better than complex. (단순한 것이 복잡한 것보다 낫다.) Complex is better than complicated. (복잡한 것이 난해한 것보다 낫다.) Flat is better than nested. (단조로운 것이 뒤엉킨 것보다 낫다.) Sparse is better than dense. (분포되어 있는 것이 빽빽한 것보다 낫다.) Readability ..
Node.js의 디자인 철학. 모든 프로그래밍 언어는 각자의 철학을 지니고 있습니다. 여기서 철학은 커뮤니티가 보통 받아들이는 원칙과 가이드라인 플랫폼 진화에 영향을 미치는 역할을 하는 이데올로기 애플리케이션 개발 설계 를 의미합니다. Node.js의 철학은 아래와 같습니다. Small Core (경량코어) Small Modules (경량 모듈) Small Surface Area (작은 외부 인터페이스) Simplicity and Pragmatism (간결함과 실용 주의) Refernce https://subscription.packtpub.com/book/web_development/9781783287314/1/ch01lvl1sec08/the-node-js-philosophy
클래스 이름을 DTO 또는 Dto로 끝내는 것은 의미가 희미해지는 느낌이 있고 class 그 자체에 대해 그다지 인지를 못하게 된다. class의 목적을 잘 묘사하는 이름을 지어보자. SomeSortOfCommand SomeSortOfConfiguration SomeSortOfCredentials SomeSortOfDetails SomeSortOfElement SomeSortOfEvent SomeSortOfHeader SomeSortOfInput SomeSortOfInstruction SomeSortOfItem SomeSortOfMessage SomeSortOfMetadata SomeSortOfOperation SomeSortOfOutput SomeSortOfPayload SomeSortOfProject..
본 예제에서는 easy_localization 을 사용합니다. 다른 라이브러리가 arb로 generate 하고 변환한 arb 파일을 사용하는 것에 비해 easy_localization은 지정한 경로에 json만 만들면 되기 때문에 사용이 대단히 편리합니다. pubspec.yaml dependencies: easy_localization: ^3.0.0 위와 같이 설정해서 의존성 다운로드를 받습니다. main.dart void main() async { // Needs to be called so that we can await for EasyLocalization.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized(); await EasyLocali..
이터널 리턴 생존도감 플러터에서 youtube 영상을 dialog로 보여주는 방법입니다. pubspec.yaml dependencies: youtube_player_flutter: ^8.0.0 youtube_player_flutter를 추가합니다. 메인 코드 아래와 같이 Dialog Widget에 YouTubePlayer를 띄우면 되겠습니다. character_detail.dart import 'package:flutter/material.dart'; ... showDialog( context: context, builder: (_) => YoutubeDialog(videoPath: e.video)); youtube_dialog.dart import 'package:flutter/material.dart..
main.dart import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class SliverPage extends StatefulWidget { @override State createState() => _SliverPage(); } class _SliverPage extends State { Widget customCard(String text) { return Card( child: Container( height: 120, child: Center( child: Text( text, style: TextStyle(fontSize: 40), )), )); } @override Widget build(Build..
https://api.flutter.dev/flutter/animation/Curves-class.html 페이지 이동할 때 애니메이션을 적용하기 위해 Hero 위젯을 이용한다. Hero 위젯은 페이지 간 이미지를 자연스럽게 애니메이션으로 연결해준다. 환경 준비 flutter: # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true # To add assets to your application, add an assets section,..
플러터에서 앱의 데이터를 저장하는 방법 중, SharedPreference를 사용해서 간단한 데이터를 저장한다. 환경 준비 dependencies: flutter: sdk: flutter shared_preferences: ^2.0.6 코드 import 'package:flutter/material.dart'; import 'package:shared_preferences/shared_preferences.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context..