Pesquisar na Comunidade
Mostrando resultados para as tags ''java script''.
Atualmente, o índice de pesquisa está sendo processado. Os resultados atuais podem não estar completos.
Encontrado 7 registros
-
javascript Apostila: Curso de JAVASCRIPT
Arkanun1000 postou um tópico no fórum em Desenvolvimento Web
Javascript é classificada como uma linguagem multiplataforma, isso significa que Javascript não é exclusiva da web, um bom exemplo disso que é Javscript também é usada como linguagem em Unity3D. Neste curso vamos aprender Javascript para web, criando scripts para incrementar as páginas web junto ao código HTML. DOWNLOAD [HIDE-THANKS] [Hidden Content] [/HIDE-THANKS]- 4 respostas
-
- 12
-
-
[Tutorial] Validando formulários com AngularJS
Arkanun1000 postou um tópico no fórum em Desenvolvimento Web
Validando formulários com AngularJS Desde o primeiro período da faculdade, aprendemos que o modelo computacional é composto de entrada, processamento e saída. A partir do momento que trocamos os cartões furados pelo teclado, a entrada de dados pelos formulários tem feito parte da nossa vida. Com o passar dos anos, começamos a ter uma maior preocupação com a experiência do usuário e nos ocupamos a desenvolver formulários melhores e mais responsivos a cada dia. O AngularJS nos ajuda muito com essa tarefa. Ele nos trás uma série de facilidades que nos permite, em pouco tempo, validar um formulário e dar uma resposta rápida e concisa ao usuário. Veja no video como trabalhar com a validação de formulários no AngularJS. [spoiler=Código Fonte] [Hidden Content]- 1 resposta
-
- java script
- tutorial
- (e 1 mais)
-
AngularJS: O que é e porquê utilizar A web tem evoluído exponencialmente na última década. Passamos de brutamontes que utilizavam centenas de linhas de código e diversos page loads para fazer um bom formulário em etapas a seres iluminados que podem obter o mesmo efeito com apenas alguns comandos e sem recarregar a página uma vez sequer. Em meio a toda essa revolução está o queridinho dos desenvolvedores web da atualidade: o AngularJS ou, Angular para os íntimos. Descrito por seus criadores como um framework JavaScript supereróico, ele trouxe um novo conceito de desenvolvimento front-end e deu início a nova era dos web apps. Mas o que é AngularJS? É produtivo? É difícil aprender? Continue lendo esse artigo, porque essas e outras perguntas serão respondidas agora. O que é AngularJS? A premissa do Angular é ser um Framework MV* (Model – View – Qualquer Coisa) para desenvolvimento do front-end de aplicações web, ou seja, que rodam dentro do navegador do cliente. Sua filosofia parte de que uma programação declarativa é muito mais importante que uma programação imperativa quando se trata de desenvolvimento web. Ele atinge isso estendendo o HTML e fazendo uma linguagem para o desenvolvimento de interfaces web dinâmicas. By Google with ♥ Muitos frameworks são desenvolvidos por pessoas talentosas apaixonadas pelo que fazem, o que nos dá sistemas maravilhosos e muito gostosos de usar. Agora, como deve ser um framework feito por um time inteiro de pessoas talentosas, apaixonadas pelo que fazem e que ainda recebem uma quantia considerável de dinheiro para evoluir o projeto? O Angular foi desenvolvido por um analista do Google e adotado e incubado pela Gigante de Mountain View. Eles mesmos já o estão usando em mais de 1600 projetos internos. Comunidade Sólida As métricas do Angular são impressionantes e refletem a imensa aceitação dele pela comunidade. O Repositório do Angular no GitHub tem 49 mil estrelas e mais de mil contribuintes, além de mais que 150 mil repositórios com scripts que utilizam a tecnologia. No Stack Overflow, a maior comunidade de perguntas e respostas do mundo, temos quase 180 mil perguntas. Caso o interesse seja em vídeos sobre o assunto, o YouTube nos dá uma marca impressionante de 470 mil vídeos. O interesse da comunidade tem subido exponencialmente nos últimos anos, como mostra este gráfico de pesquisas do Google: Produtividade O desenvolvimento nessa era das startups deixou de ser um projeto estático de escopo fechado e passou a uma metodologia dinâmica, que sempre se renova. Esse tipo de aproximação demanda uma velocidade muito grande no desenvolvimento. Como foi concebido nessa era, o Angular segue muito bem o mantra da produtividade. Por ser orientado a componentes, é muito rápido e fácil programar com ele. Praticamente qualquer coisa que se precisa já tem pronta por aí nos milhares de repositórios do GitHub. Existe inclusive um site que reúne mais de 2000 módulos open-source para facilitar a busca: o ngModules. Como explicado no início, o sistema de template do Angular estende o HTML deixando a programação de interfaces muito mais fácil. Veja o que se pode fazer sem nem uma linha de JavaScript: O Aprendizado O Angular está sendo conhecido pela internet também pela sua curva de aprendizado. Em poucos minutos você aprende seus conceitos e já está desenvolvendo seu primeiro app. Ao ir se aprofundando mais e mais, passa por novos paradigmas e isso pode ser um pouco frustrante… mas se você perseverar, logo descobre as vantagens que esse framework tem para oferecer em seus projetos. [spoiler=Fonte] [Hidden Content]
-
Curso Udemy:THE COMPLETE NODE.JS DEVELOPER COURSE 2.0
Arkanun1000 postou um tópico no fórum em Desenvolvimento Web
THE COMPLETE NODE.JS DEVELOPER COURSE 2.0 The Complete Node.js Developer Course 2.0 Learn Node by building production applications using the latest Node version (v6). Course Description Are you looking to create real-world Node applications? Maybe you want to switch careers or launch a side-project to generate some extra income. Either way, you’re in the right place. I’ve designed this course around a single goal: Turning you into a professional Node developer capable of developing, testing, and deploying real-world production applications. There’s no better time to dive in. According to the 2016 Stack Overflow Survey, Node is in the top ten for back-end popularity and back-end salary, with an average salary of $85k. This means more jobs and more opportunities for you! “Andrew Mead is perhaps the best instructor in Udemy’s portfolio. His explanations are clear, his pace is great, and he is super responsive to questions. I highly recommend his courses.” Bert McLees This is a course for the doer. This course is entirely project-based. From the very beginning you’ll be programming every single app and completing various challenges I’ve designed to help test and reinforce what you’ve learned. There’s no copying-and-pasting here. This course is about writing code and building projects. You’ll be programming and launching four Node apps: A note-taking app to get your feet wet A weather application that interacts with Google Maps and Dark Sky A todo REST API complete with user accounts and authentication A real-time chat app with a client-side companion During eight chapters you’ll learn: Node Npm Asynchronous programming MongoDB Express Socket.IO Authentication with JWTs Mongoose Deploying apps with Heroku Version control with Git GitHub Code testing Application debugging Awesome new ES6 features Mocha And more! Up-to-date. In-depth. The Complete Node.js Developer Course 2.0 is built from the ground up around the latest version of Node.js (version 6.x.x). Everything in the course has been completely recreated based on the feedback from the {{13,000}} students enrolled in the first version of this course. You’ll be learning all the cutting edge features available only in the latest software versions. Everything you need comes in one easy-to-use package. You can stop worrying if you’re learning the right skills to build an app or land a new job. I’ve curated all the tech that’s essential to building real-world apps. I’ve mapped out everything in a comprehensive, easy-to-follow package designed to get you up in running in a few weeks. I guarantee this is the most up-to-date and engaging Node course available, and it comes with a 30-day money-back guarantee. Access to fast support and a community of like-minded students. I offer fast and friendly support. You won’t have to sit around hoping someone will actually reply. I answer every single question that students post in a timely manner. Don’t take my word for it. It’s one of the things students like Nick and Pak love most about my courses. “The real value in this course is Andrew; he is not just a great teacher, but also he’s quick to answer questions and provide feedback.” Nick Hester “The is amazing. What’s even better is the instructor answers all the questions student asked.” Pak Chu “Andrew is a great instructor and a great person too. He responds to every question in the forum within 24 hours and really makes the effort to solve the problem other students are facing. The course content is really good and the videos are highly interactive with small challenges in almost every video. This is not a rushed up course and it is great. Keep up the great work” – Rajat Bansal “Andrew is a very good teacher and the videos are very clear. Any questions people seem to have are answered swiftly, clearly, and often with examples posted on gist hub. Even when the questions asked are out of the scope of the course Andrew seems to come up trumps.” – Adam Tait What are the requirements? A computer on which you can install software (Windows, MacOS, or Linux) is required A basic understanding of vanilla JavaScript (variables, if statements, basic functions, basic objects) What am I going to get from this course? Launch their own Node applications, switch careers, or freelance as Node developers Create Node apps that support user accounts and authentication Use awesome third-party Node modules like MongoDB, Mongoose, SocketIO, and Express Create real-time web applications DOWNLOAD [spoiler=Servidor do Download : Depositfiles (23 partes de 514mb cada)] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content]- 1 resposta
-
- 2
-
-
- curso udemy
- java script
- (e 1 mais)
-
Preciso de ajuda com esse infortúnio aqui, alguém sabe como funciona esse tipo de otimização ?
-
Apostila Caelum - Desenvolvimento WEb com HTML, CSS e JavaScript
Arkanun1000 postou um tópico no fórum em Desenvolvimento Web
Aprenda HTML5, CSS3 e JavaScript e programe a Web do futuro. Veja boas práticas como performance e design responsivo, e frameworks modernos como jQuery e Bootstrap. Este material gratuito é o que usamos no curso de HTML, CSS e JavaScript da Caelum e esperamos que seja útil no seu aprendizado. DOWNLOAD -
HTML <div id="calculator"> <!-- Screen and clear key --> <div class="top"> <span class="clear">C</span> <div class="screen"></div> </div> <div class="keys"> <!-- operators and other keys --> <span>7</span> <span>8</span> <span>9</span> <span class="operator">+</span> <span>4</span> <span>5</span> <span>6</span> <span class="operator">-</span> <span>1</span> <span>2</span> <span>3</span> <span class="operator">÷</span> <span>0</span> <span>.</span> <span class="eval">=</span> <span class="operator">x</span> </div> </div> <!-- PrefixFree --> <script src="[Hidden Content]" type="text/javascript" type="text/javascript"></script> CSS /* Basic reset */ * { margin: 0; padding: 0; box-sizing: border-box; /* Better text styling */ font: bold 14px Arial, sans-serif; } /* Finally adding some IE9 fallbacks for gradients to finish things up */ /* A nice BG gradient */ html { height: 100%; background: white; background: radial-gradient(circle, #fff 20%, #ccc); background-size: cover; } /* Using box shadows to create 3D effects */ #calculator { width: 325px; height: auto; margin: 100px auto; padding: 20px 20px 9px; background: #9dd2ea; background: linear-gradient(#9dd2ea, #8bceec); border-radius: 3px; box-shadow: 0px 4px #009de4, 0px 10px 15px rgba(0, 0, 0, 0.2); } /* Top portion */ .top span.clear { float: left; } /* Inset shadow on the screen to create indent */ .top .screen { height: 40px; width: 212px; float: right; padding: 0 10px; background: rgba(0, 0, 0, 0.2); border-radius: 3px; box-shadow: inset 0px 4px rgba(0, 0, 0, 0.2); /* Typography */ font-size: 17px; line-height: 40px; color: white; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); text-align: right; letter-spacing: 1px; } /* Clear floats */ .keys, .top {overflow: hidden;} /* Applying same to the keys */ .keys span, .top span.clear { float: left; position: relative; top: 0; cursor: pointer; width: 66px; height: 36px; background: white; border-radius: 3px; box-shadow: 0px 4px rgba(0, 0, 0, 0.2); margin: 0 7px 11px 0; color: #888; line-height: 36px; text-align: center; /* prevent selection of text inside keys */ user-select: none; /* Smoothing out hover and active states using css3 transitions */ transition: all 0.2s ease; } /* Remove right margins from operator keys */ /* style different type of keys (operators/evaluate/clear) differently */ .keys span.operator { background: #FFF0F5; margin-right: 0; } .keys span.eval { background: #f1ff92; box-shadow: 0px 4px #9da853; color: #888e5f; } .top span.clear { background: #ff9fa8; box-shadow: 0px 4px #ff7c87; color: white; } /* Some hover effects */ .keys span:hover { background: #9c89f6; box-shadow: 0px 4px #6b54d3; color: white; } .keys span.eval:hover { background: #abb850; box-shadow: 0px 4px #717a33; color: #ffffff; } .top span.clear:hover { background: #f68991; box-shadow: 0px 4px #d3545d; color: white; } /* Simulating "pressed" effect on active state of the keys by removing the box-shadow and moving the keys down a bit */ .keys span:active { box-shadow: 0px 0px #6b54d3; top: 4px; } .keys span.eval:active { box-shadow: 0px 0px #717a33; top: 4px; } .top span.clear:active { top: 4px; box-shadow: 0px 0px #d3545d; } JS // Get all the keys from document var keys = document.querySelectorAll('#calculator span'); var operators = ['+', '-', 'x', '÷']; var decimalAdded = false; // Add onclick event to all the keys and perform operations for(var i = 0; i < keys.length; i++) { keys[i].onclick = function(e) { // Get the input and button values var input = document.querySelector('.screen'); var inputVal = input.innerHTML; var btnVal = this.innerHTML; // Now, just append the key values (btnValue) to the input string and finally use javascript's eval function to get the result // If clear key is pressed, erase everything if(btnVal == 'C') { input.innerHTML = ''; decimalAdded = false; } // If eval key is pressed, calculate and display the result else if(btnVal == '=') { var equation = inputVal; var lastChar = equation[equation.length - 1]; // Replace all instances of x and ÷ with * and / respectively. This can be done easily using regex and the 'g' tag which will replace all instances of the matched character/substring equation = equation.replace(/x/g, '*').replace(/÷/g, '/'); // Final thing left to do is checking the last character of the equation. If it's an operator or a decimal, remove it if(operators.indexOf(lastChar) > -1 || lastChar == '.') equation = equation.replace(/.$/, ''); if(equation) input.innerHTML = eval(equation); decimalAdded = false; } // Basic functionality of the calculator is complete. But there are some problems like // 1. No two operators should be added consecutively. // 2. The equation shouldn't start from an operator except minus // 3. not more than 1 decimal should be there in a number // We'll fix these issues using some simple checks // indexOf works only in IE9+ else if(operators.indexOf(btnVal) > -1) { // Operator is clicked // Get the last character from the equation var lastChar = inputVal[inputVal.length - 1]; // Only add operator if input is not empty and there is no operator at the last if(inputVal != '' && operators.indexOf(lastChar) == -1) input.innerHTML += btnVal; // Allow minus if the string is empty else if(inputVal == '' && btnVal == '-') input.innerHTML += btnVal; // Replace the last operator (if exists) with the newly pressed operator if(operators.indexOf(lastChar) > -1 && inputVal.length > 1) { // Here, '.' matches any character while $ denotes the end of string, so anything (will be an operator in this case) at the end of string will get replaced by new operator input.innerHTML = inputVal.replace(/.$/, btnVal); } decimalAdded =false; } // Now only the decimal problem is left. We can solve it easily using a flag 'decimalAdded' which we'll set once the decimal is added and prevent more decimals to be added once it's set. It will be reset when an operator, eval or clear key is pressed. else if(btnVal == '.') { if(!decimalAdded) { input.innerHTML += btnVal; decimalAdded = true; } } // if any other key is pressed, just append it else { input.innerHTML += btnVal; } // prevent page jumps e.preventDefault(); } } Creditos:kushsolitary
