<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Egbert Teeselink on Medium]]></title>
        <description><![CDATA[Stories by Egbert Teeselink on Medium]]></description>
        <link>https://medium.com/@skrebbel?source=rss-9489bf192422------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AH7nwXOi5Ft2fr494wmxVg.jpeg</url>
            <title>Stories by Egbert Teeselink on Medium</title>
            <link>https://medium.com/@skrebbel?source=rss-9489bf192422------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:31:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@skrebbel/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[TalkJS Unlimited]]></title>
            <link>https://medium.com/talkjs/talkjs-unlimited-c99e40fc4c5d?source=rss-9489bf192422------2</link>
            <guid isPermaLink="false">https://medium.com/p/c99e40fc4c5d</guid>
            <category><![CDATA[chat]]></category>
            <category><![CDATA[messaging]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[marketplaces]]></category>
            <category><![CDATA[multivendor-marketplace]]></category>
            <dc:creator><![CDATA[Egbert Teeselink]]></dc:creator>
            <pubDate>Wed, 18 Oct 2017 12:27:38 GMT</pubDate>
            <atom:updated>2017-10-18T12:27:38.176Z</atom:updated>
            <content:encoded><![CDATA[<p>Our goal here at TalkJS is to reduce the cost of running chat in your app. Therefore, all TalkJS plans now include unlimited users and unlimited simultaneous conversations. Just copy-paste our code and get started for free.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EM_TPeYeEVTXTnpzqXYh7A.jpeg" /></figure><h4>Nice, but why?</h4><p>When we first launched <a href="https://talkjs.com/">TalkJS, the plug&amp;play buyer-seller chat for marketplaces</a>, Joshua and I thought hard about a good pricing model. We wanted to be affordable even for the smallest company, but at the same time we wanted to be able to charge more from companies with more users. We settled on a small monthly fee plus a cost per conversation.</p><p>This was a mistake, and today I’m proud to announce that we fixed it! :-) Metered billing sounds fair, in a way. If you get more value from our service, we charge you more. But it’s what telcos do, and if there’s any company we don’t want to be like, it’s a telco.</p><p>Many of our customers are startups. They told us that even while their monthly cost was low now, they were afraid that sudden growth would make their costs explode. Fear is not the kind of emotion we want you to have when using TalkJS.</p><p>So we simply took away the per-conversation cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FzBtP_yloIX-VJTBdhhfbg.png" /><figcaption>Yep, it really says “unlimited” there</figcaption></figure><h4>Scaling our servers so you don’t have to</h4><p>The TalkJS Standard and TalkJS Lite plans now include unlimited users, unlimited conversations, and unlimited messaging. The TalkJS infrastructure is tremendously scalable, so you can be confident that we can handle your load as you grow. However, if you want a guaranteed level of performance for your expected load, get in touch and we’ll draft you a custom enterprise plan.</p><p>Curious? <a href="https://talkjs.com/#pricing">Check out our brand new Unlimited plans</a> and try us out today. Don’t forget, development is free forever and we have a 14-day free trial when you go live.</p><p><strong><em>Please visit our website at </em></strong><a href="http://www.talkjs.com/"><strong><em>www.talkjs.com</em></strong></a><strong><em>, start a chat, and let us know what you think.</em></strong></p><p><em>Egbert is CTO and co-founder at TalkJS, which lets you add chat to any app or site. He likes programming, italo disco and hamburgers.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c99e40fc4c5d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/talkjs/talkjs-unlimited-c99e40fc4c5d">TalkJS Unlimited</a> was originally published in <a href="https://medium.com/talkjs">TalkJS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcing TalkJS Themes]]></title>
            <link>https://medium.com/talkjs/announcing-talkjs-themes-a49f663381aa?source=rss-9489bf192422------2</link>
            <guid isPermaLink="false">https://medium.com/p/a49f663381aa</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[marketplaces]]></category>
            <category><![CDATA[chat]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[messaging]]></category>
            <dc:creator><![CDATA[Egbert Teeselink]]></dc:creator>
            <pubDate>Tue, 14 Feb 2017 13:01:52 GMT</pubDate>
            <atom:updated>2017-02-14T13:01:52.678Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CRSQoBbLosxtAQ2Iu8gYXA.png" /></figure><p>From the day we launched in beta last September, <a href="https://talkjs.com/">TalkJS</a> has been all about getting a great messaging experience for users with next to no effort. We noticed that sites and apps, all over the internet, were building their user-to-user messaging from scratch, yet they all ended up with nearly the same user interface.</p><p>Building a great UI for realtime user messaging is the most work in any chat app. There’s cross-browser quirks to mind, little details, realtime view updates: it gets messy pretty fast. This is why TalkJS includes a pre-cooked UI that you can embed into your site or app as easily as a YouTube video.</p><p>We kept hearing back from our customers, however, that they needed <em>just</em> that little bit of extra flexibility in the look and feel of their messaging. So without further ado, we’re happy to announce: TalkJS Themes!</p><h3>Good old CSS to the rescue</h3><p>A theme is a CSS file with a limited set of properties, which allow you to tune the look and feel of the UI. Think fonts, borders, colors, and so on. The core chat UI layout still stays the same, but you can make it fit your site’s design seamlessly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GgIyVxsdTqGzXsLaBrXgqw.png" /><figcaption>Same chat, different theme.</figcaption></figure><p>As you can see in the screenshot above, I haven’t answered my colleague Marcin in over 2 days. That’s not very nice of me. You can also see that with just a few lines of CSS, we changed our default UI (on the left) to look similar to the one Airbnb uses for their messaging interface (the right).</p><h3>Forward compatibility</h3><p>When we were designing the themes feature, we were very tempted to just let our customers override our CSS and be done with that. Maximum flexibility, happiest customers, right?</p><p>But this would make it very difficult to add features later on, because new features often means new UI elements (a button here, an indicator there). How would we ensure that these new features match the intended style of our customer?</p><p>We realized we needed something more involved. TalkJS themes, therefore, do not support all CSS properties: we’re trying to capture the <em>spirit</em> of your design language, so that we can re-use those styles in later feature development. In fact, the TalkJS backend reads the theme files out and intelligently applies changes all over the UI, in a way that we could not do with pure CSS.</p><p>This gives you the best of boths worlds: full flexibility for making things look just right, but you can still depend on us for making your messaging better and better, without having to do more styling an development every time there’s a new TalkJS feature out.</p><h3>Give it a try!</h3><p>Theming is supported in TalkJS Standard plan and up. Also, it’s always enabled in test mode, which you can use for free forever. So <a href="https://talkjs.com/admin/signup/standard">sign up</a> or <a href="https://talkjs.com/admin">log in</a> to the admin panel, and you can get going right away. The theme settings are on the bottom of the “Config” page.</p><p>We’re curious what you think!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a49f663381aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/talkjs/announcing-talkjs-themes-a49f663381aa">Announcing TalkJS Themes</a> was originally published in <a href="https://medium.com/talkjs">TalkJS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It’s a blog!]]></title>
            <link>https://medium.com/talkjs/its-a-blog-d842b631dd0a?source=rss-9489bf192422------2</link>
            <guid isPermaLink="false">https://medium.com/p/d842b631dd0a</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[talkjs]]></category>
            <category><![CDATA[hello]]></category>
            <dc:creator><![CDATA[Egbert Teeselink]]></dc:creator>
            <pubDate>Fri, 11 Nov 2016 12:45:40 GMT</pubDate>
            <atom:updated>2016-11-11T12:48:47.323Z</atom:updated>
            <content:encoded><![CDATA[<p>Wow, since we pivoted into <a href="https://talkjs.com/">TalkJS</a>, a lot of great stuff has happened! This blog has been long overdue, but hey, better late than never.</p><p>Thanks for checking in with us, we’ll do a nicer “oh wow, a pivot” later.</p><p><em>Egbert Teeselink is co-founder and CTO at TalkJS, embeddable user-to-user messaging for your marketplace or platform. </em><a href="https://talkjs.com/"><em>Check us out!</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d842b631dd0a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/talkjs/its-a-blog-d842b631dd0a">It’s a blog!</a> was originally published in <a href="https://medium.com/talkjs">TalkJS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How React brought Model-View-Controller back to the masses]]></title>
            <link>https://medium.com/talkjs/how-react-brought-model-view-controller-back-to-the-masses-4f3caf3a3f2f?source=rss-9489bf192422------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f3caf3a3f2f</guid>
            <category><![CDATA[rant]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[dev]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[mvc]]></category>
            <dc:creator><![CDATA[Egbert Teeselink]]></dc:creator>
            <pubDate>Fri, 11 Nov 2016 12:03:48 GMT</pubDate>
            <atom:updated>2016-11-11T12:50:26.678Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*8vyWLRS_wdLQAqbaWvgAbg.png" /><figcaption>A Xerox Alto running ReactJS (image from <a href="http://toastytech.com/guis/alto3.html">Nathan’s Toasty Technology page</a>)</figcaption></figure><p>I know of few patterns and software ideas that have aged so well as Model-View-Controller. Originally designed as a pattern for desktop GUIs, MVC proposes that your application should have a single Model and, for each major part of the UI, one Controller and one View.</p><p>That’s pretty different from the MVC style that Rails popularized, with one view class, one controller class, and one model class for every domain entity (every database table, if you will). The Rails model works well for the kinds of typical CRUD apps that got Rails popular, but it does not hold up as well in highly interactive and dynamic applications, the kind where all sorts of data are mishmashed together all over the place. The kind that you choose to go Single-Page-App for.</p><h4>Betteridge strikes again</h4><p>Today, an article called <a href="https://medium.freecodecamp.com/is-mvc-dead-for-the-frontend-35b4d1fe39ec"><em>Is Model-View-Controller dead on the front end?</em></a> made the rounds, arguing that modern frontend frameworks like React finally put the nail in MVC’s coffin. Its title alone made me choke on my latte, because to me, React represents the movement that finally made developers treat the DOM as just a UI toolkit like any other.</p><p>If the DOM is just Yet Another UI Toolkit, can’t we learn from all the patterns and ideas all those other UI Toolkits have? Why, yes we can! In classic MVC, the Model triggers all connected Views when data changed, and then the Views query the Model for the data they need. The Controller handles user actions and uses that to update the Model, which then asks the View to redraw. This is unidirectional data flow <em>pur sang </em>and <a href="https://www.lri.fr/~mbl/ENS/FONDIHM/2013/papers/Krasner-JOOP88.pdf">it comes from 1988</a>. Can we do this in a browser? Sure we can, so people did, and they called it React/Flux.</p><h4>Views with benefits</h4><p>The core insight that React+Flux <em>adds</em> to the MVC pattern is that this stuff meshes well with immutable data. React’s Virtual DOM + immutable data solution to figuring out what parts of the view to update is just the last in a long series of pretty good ideas. In the nineties, a technique called <em>damage+repair </em>was popular. It means that you try to keep track of which pixel regions on the screen need redrawing as a result of user actions (<em>damage</em>), work back from those pixel regions to which data you need, and then make the view only fetch <em>that </em>data and use it to redraw (<em>repair</em>) only the damaged areas.</p><p>React calls this <em>shouldComponentUpdate</em> and it works way better in React because React operates on the DOM, which is a tree, and not on pixel areas. So there’s no need to try and deduce from damaged pixel areas what things need redrawing; you can just ask little subsets of the data directly, “did you change?”. Immutability makes this fast. To me this is so fundamental that I’d suggest that other UI toolkits consider adopting something like a DOM, insofar they don’t have one yet. React Native shows that you can steamroll a queryable DOM right over an existing UI toolkit and you still get these benefits. This is fantastic, and they didn’t do this in Smalltalk-80. Thanks, Facebook!</p><h4>Controllers!</h4><p>Now, here at <a href="https://talkjs.com/">TalkJS</a>, we’re building a dynamic and interactive application (real-time messaging for marketplaces and platforms) so backend MVC was no option. When we started building, React was new and Flux was even newer. The dust of how to architect a decent React app hadn’t settled yet.</p><p>People knew Backbone’s Rails-on-the-frontend approach wasn’t working, but what to do instead was pretty much an open question. For us, classic MVC seemed an obvious route to explore, and Flux was an easy idea to adopt because it’s just the M in MVC under a different name.</p><p>But so far we’re the only team I know that has a Controller as well. I’d like to take this opportunity to share a little about how that’s been working out for us. Our architecture looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VyZ1IRyzolml-pYW9dJJ3w.png" /><figcaption>Classic MVC in React-land</figcaption></figure><p>We have a single Fat Controller. Sure, that’s an antipattern in Rails but I’m not aware of a downside in classic desktop MVC. The controller is really just a big bag of functions that can respond to user actions, triggered by little event handlers in the view. The controller not only creates actions for the stores (eh, the Model) to process, but it also queries and updates our backend via our Fetcher (a nominee for the 2017 Worst Names In Software awards).</p><p>Most of our controller functions are optimistic, in that we send data changes to the stores and to the backend at the same time, so that the UI remains snappy and does not need to wait for the backend to have stored all data. Most React approaches allow this, but our controller code makes it very explicit and non-magic. I really like boring and explicit so I consider this a plus.</p><p>Having a controller helped us keep our views clean. They’re all about presentation and UX, there’s no fetching logic in there, no data processing, only stuff about what the user <em>sees</em>.</p><p>We’re really quite happy about this. If you’re starting have data molding code all over your views (and a little bit elsewhere too, for good measure), consider a controller. But even if you don’t, <em>definitely</em> consider a model and a view the in classic MVC sense. But you’re probably already doing that.</p><h4>Back on track</h4><p>The mistake we webdevelopers made was trying to shoehorn DHH’s backend remix of MVC into the frontend, ignoring decades of interactive GUI building architecture knowledge. I think we easily lost 10 years of progress because of this — in the entire 00’s, the only impactful progress that I can see is Microsoft’s MVVM approach in WPF and even that was largely ignored outside .NET-land.</p><p>Don’t dismiss MVC. Look at how old Win32 applications are built. Learn from the great ideas in the CocoaTouch. Have a look at Delphi, which not only makes MVC peanuts, but also reusable components. These are fantastic technologies with fantastic discoveries made by fantastic engineers. Modern single-page web apps are more like these technologies than like your average Rails codebase. I’m sure there’s a lot of untapped potential in there that we, the web crowd, can learn from instead of reinventing every single wheel by ourselves.</p><p>I’m happy the Facebook people rediscovered MVC and I’m happy they gave it a new name. MVC frankly has gotten way too many definitions over the years, so sure, this is good!</p><p>But saying that Flux/Redux killed MVC is like saying Clojure killed Lisp.</p><p><a href="https://news.ycombinator.com/item?id=12930118">Discuss on Hacker News</a></p><p><em>Written by Egbert Teeselink, co-founder and CTO of </em><a href="https://talkjs.com/"><em>TalkJS</em></a><em>. TalkJS lets you add user-to-user messaging to your online marketplace or platform in minutes, not months. </em><a href="https://talkjs.com/"><em>Try it out!</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f3caf3a3f2f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/talkjs/how-react-brought-model-view-controller-back-to-the-masses-4f3caf3a3f2f">How React brought Model-View-Controller back to the masses</a> was originally published in <a href="https://medium.com/talkjs">TalkJS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>