You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will be hard because it requires capnproto. The only example I know of is in C++ for the Wordpress app. Maybe someone could show us how to do the same in Go.
Benefit would be a nice URL perhaps, but also it could be much faster loading and less likely to overload the server. And arguably no need for auto-reload.
Use case would be a small number of people editing for a public facing website. Could maybe even embed the result on a page somewhere. People edit together, hit publish, the bookmarks get embedded as a json object in the js file.
The text was updated successfully, but these errors were encountered:
I kinda suspect the Go code to cobble this together is somewhere in Ian's body of work, but I think generally, similar to the proxy, the recommended method is just to include the C++ executable in the project and invoke it when needed.
Oh, I didn't realize it was available as its own executable. I suppose that
stands to reason, Wordpress probably isn't written in C++. Then this is a
lot easier than I thought, thanks.
As a separate note: I may need to have this explained to me multiple times
before I get it, but the fact that a separate executable is the recommended
path for basic things like static generation and outbound requests makes
the whole cnp thing seem rather convoluted. Like, when we redo this from
scratch, will this still be the best approach?
I would probably prefer they were features just built into the bridge, but in cases they are not, separate executables in the container connected via well-known standard methods are much more maintainable than having an implementation for each language someone might write an app in.
Will be hard because it requires capnproto. The only example I know of is in C++ for the Wordpress app. Maybe someone could show us how to do the same in Go.
Benefit would be a nice URL perhaps, but also it could be much faster loading and less likely to overload the server. And arguably no need for auto-reload.
Use case would be a small number of people editing for a public facing website. Could maybe even embed the result on a page somewhere. People edit together, hit publish, the bookmarks get embedded as a json object in the js file.
The text was updated successfully, but these errors were encountered: