Upgrading websites with SPA behaviour without destroying search engine readability and design.

I started doing web frameworks a few years ago and have been experimenting both with Angular and React. What I normally think is that the Javascript application is what I design and nothing more. And normally it is designed as a single page app.

Basically what happends when you create an app in a JavaScript framework is that you let the framework take control over the DOM manipulation but it is known that search engines can’t see the content.

In react there is a way past this that is called isomorphic react and this is a good strategy if you are building a new interactive website today that is kind of unique when it comes to functionality. At least it is an option to using a CMS.

But if you already have a website, and you use a CMS that server side renders the content it can be upgraded making parts of it into React or Angular apps. You can even do this with existing parts of a website.

The interesting thing is in the way a single page app is mounted in to your website.

In a Single Page App you have a static html file that usually only contains a div element with a ID such as “root” or “app” and little other. And this is what google sees. An empty element. Everyting else happends in time after this has been loaded and Google doesn’t follow this. It only sees the empty div.

But the beauty is, as an alternative to isomorphic renderToString in react – the mount div does not have to be empty.

This means that the following approach can be taken, both when creating web sites from scratch instead of running node.js on the server, you can place static content in the div.

I think you will find benefits in isomorphic react and building with this as an architecture for web apps and services that exist online, but when upgrading existing sites, this is beautiful. Take the static content and introduce dynamic behaviour with the existing markup and style as base and mount to the div you would like to make into a dynamic application and perhaps if needed design some small services hosted elsewhere or in the scripting language available on the host of the website.

The web is upgradeable and static websites still are major online. They can be upgraded and this does not have to affect search engine readability. Your website can have the same existing design as before, but be extended into having the functionality it lacks without a big affect to the design that might have been carefully done with a colour theme, fonts, a layout etc.

My point on use of reactDOM.render() in SPA templates and scaffolders:

But the beauty of ReactDOM.render is that it sets innerHTML behind the scenes. It doesn’t add the React components to the div with the id “root”. It swaps the content. Therefore:

In this way you can make use of react in existing websites leaving the static content in the mount node so that Google and other engines can see some text. Great for use on upgrading existing websites.

Looking for customers with existing websites they want to “spice up” with interactivity

Currently being unemployed I am looking at the possibility of starting my own company rather than being hired as an employee of an existing established company. I have found that many websites online could have more interactivity but they are very nicely designed and plan to address this as a segment.

I have specialised in web development and can provide you, if you have a website, with extra functionality. I can upgrade your existing web design without breaking the fancy visual form and effects that you had delivered from the web designer. And I do so at reasonable prices.

An example would be if you have a restaurant and you have a menu on that website. Why not take orders? Or maybe you just need a contact form? Maybe you are looking into integrating a small web shop into your site.

The way I do this is by using the React framework from the Facebook team. With this I can turn parts or your existing web site in to an interactive application. Also I can use back end server side functionality offered by the host you use today if you are in need of some server side functionality for your upgrade.

Also, I would be interested in having contact with designers who do not necessarily know a lot about how to provide interactivity through web programming both server side and client side. I have no experience in visual design and would love to work with someone who has.

So contact me on LinkedIn if you would like my web programming services and have a customer or you are a customer yourself.

Looking for startup people

Currently I am unemployed and it would be a great time for me to start some kind of service online. I have some ideas but no one to work with.

If you have ideas and maybe some funding, please contact me on LinkedIn