<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Javascript on Caktus Group</title><link>https://www.caktusgroup.com/tags/javascript/</link><description>Recent content in Javascript on Caktus Group</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 23 Sep 2021 10:00:00 +0000</lastBuildDate><atom:link href="https://www.caktusgroup.com/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Caktus Clicks: September Link Roundup</title><link>https://www.caktusgroup.com/blog/2021/09/23/caktus-clicks-september/</link><pubDate>Thu, 23 Sep 2021 10:00:00 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2021/09/23/caktus-clicks-september/</guid><description>&lt;p>We’re reviving a blog series from a few years ago in which we compile and share the things Cakti are clicking on — articles, videos, podcasts — whether it’s tech-related, an idea for social good, or just something interesting or amusing that caught someone’s eye. Have a look at this recommended reading and let us know what you think:&lt;/p></description></item><item><title>JavaScript Variable Declaration in the 21st Century</title><link>https://www.caktusgroup.com/blog/2021/01/25/javascript-variable/</link><pubDate>Mon, 25 Jan 2021 15:32:15 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2021/01/25/javascript-variable/</guid><description>&lt;p>October 2020 marked the 14th anniversary of the introduction of &amp;ldquo;let&amp;rdquo;
and &amp;quot;const&amp;quot; to Javascript. Yes, it was in 2006 that this feature was
first introduced, and we&amp;rsquo;re still having conversations about it. So why,
you ask, are we still talking about this? It seems that a lot of
confusion remains, not to mention a lot of old code being passed around
on StackOverflow with &amp;ldquo;var&amp;rdquo; all over the place. Here I&amp;rsquo;ll discuss the
difference between these three declarations, and come to a conclusion
about best practices&lt;/p></description></item><item><title>Build a useKeypress Hook in React</title><link>https://www.caktusgroup.com/blog/2020/07/01/usekeypress-hook-react/</link><pubDate>Wed, 01 Jul 2020 19:27:20 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2020/07/01/usekeypress-hook-react/</guid><description>&lt;p>One of the great patterns to come out of React 16.8 is composable hooks.
Using React's built-in hooks such as
&lt;a href="https://reactjs.org/docs/hooks-reference.html#usestate" target="_blank" rel="noopener noreferrer">useState&lt;/a> and
&lt;a href="https://reactjs.org/docs/hooks-reference.html#useeffect" target="_blank" rel="noopener noreferrer">useEffect&lt;/a>, we
can encapsulate and modularize bits of functionality &amp;mdash; almost the same
way we create reusable components. In this article we're going to throw
together a quick hook that registers an event listener on a keypress and
performs an action. Nothing fancy, but it's a nice abstraction that
makes it a lot easier to add some nice power-user features to your app.&lt;/p></description></item><item><title>How to make a jQuery</title><link>https://www.caktusgroup.com/blog/2017/02/08/how-make-jquery/</link><pubDate>Wed, 08 Feb 2017 13:00:00 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2017/02/08/how-make-jquery/</guid><description>&lt;p>Learn to live without jQuery by learning how to clone it&lt;/p>
&lt;p>jQuery is one of the earliest libraries every web developer learns, and
often is the first experience with programming of any sort someone has.
It provides a very safe cushion between a developer and the rough edges
of web development. But, it can also obscure learning Javascript itself
and learning what web APIs are capable of without the abstraction over
them that jQuery adds.&lt;/p></description></item><item><title>Common web site security vulnerabilities</title><link>https://www.caktusgroup.com/blog/2016/11/10/common-web-site-vulnerabilities-Django-security/</link><pubDate>Thu, 10 Nov 2016 17:47:00 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2016/11/10/common-web-site-vulnerabilities-Django-security/</guid><description>&lt;p>I recently decided I wanted to understand better what Cross-Site
Scripting and Cross-Site Request Forgery were, and how they compared to
that classic vulnerability, SQL Injection.&lt;/p></description></item><item><title>ES6 For Django Lovers</title><link>https://www.caktusgroup.com/blog/2016/05/02/es6-django-lovers/</link><pubDate>Mon, 02 May 2016 12:00:00 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2016/05/02/es6-django-lovers/</guid><description>&lt;h2 id="es6-for-django-lovers">ES6 for Django Lovers!&lt;/h2>
&lt;p>The Django community is not one to fall to bitrot. Django supports every
new release of Python at an impressive pace. Active Django websites are
commonly updated to new releases quickly and we take pride in providing
stable, predictable upgrade paths.&lt;/p></description></item><item><title>ShipIt Day 4: SaltStack, Front-end Exploration, and Django Core</title><link>https://www.caktusgroup.com/blog/2013/10/29/shipit-day-4-saltstack-front-end-exploration-and-django-core/</link><pubDate>Tue, 29 Oct 2013 16:51:54 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2013/10/29/shipit-day-4-saltstack-front-end-exploration-and-django-core/</guid><description>&lt;p>Last week everyone at Caktus stepped away from client work for a day and a
half to focus on learning and experimenting. This was our fourth ShipIt day at
Caktus, our first being almost exactly a year ago. Each time we all learn a
ton, not only by diving head first into something new, but also by hearing the
experiences of everyone else on the team.&lt;/p></description></item><item><title>Lightning Talk Lunch: Service Page API</title><link>https://www.caktusgroup.com/blog/2011/08/17/lightning-talk-lunch-service-page-api/</link><pubDate>Wed, 17 Aug 2011 15:06:38 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2011/08/17/lightning-talk-lunch-service-page-api/</guid><description>&lt;p>Leading the second talk of our Caktus Lightning Talk Lunch series, Calvin Spealman presented on the Service Page API:&lt;/p>
&lt;blockquote>
&lt;p>The Service Page API is a prototype and proof of concept to deliver a wide range of browser plugins across multiple browsers and to extend the APIs available to websites a user visits by allowing plugins to extend the Javascript API with new libraries, integrate with external services, and more. It puts the power in the users hand to control which services can interact. This talk covers the problems with the current state of browser extensions and the difficulty in building them across multiple browsers consistently, and how the Service Page API is a solution to this, with code examples.&lt;/p></description></item></channel></rss>