Directus custom interface - directus

Can someone explain normally, how i can create directus interface extension? I readed docs, but i didn't understand anything from there. It just says that we can use vue js, but not a word about the implementation itself. I've been sitting for 4 hours and I can't find a normal source. The question is: Сan someone suggest what ш need to learn or read in order to be able to write interface extensions?
Tried:
https://docs.directus.io/extensions/interfaces.html
Dimitrov Adrian github repos..

I would suggest reading all of the extensions documentation from the start.
The page I've linked explains how to begin creating an extension, the page you have linked is a specific type of extension.
https://docs.directus.io/extensions/creating-extensions.html

Related

Customize user interface for n8n workflows

Is it possible to customize the user interface for n8n workflows? if possible, can someone give an idea. Thank you.
You can find the source code for all the frontend code inside their repository: https://github.com/n8n-io/n8n/tree/master/packages/editor-ui
The editor-ui folder inside packages is what you are looking for.
The app is written using Vue.js ans it's very easy to understand. You can see the n8n-theme*.scss files in the mentioned folder that could be a good starting point.
Feel free to add / share ideas on what you're looking to do and I'll try to help if possible.
Also they have a very active community that can be found here: https://community.n8n.io/

Bigcommerce Stencil - What is Required and Help Setting Up

I just got access to the new Stencil beta and I have no idea what to do. I have reviewed all of the documentation on the BC developer website, but I don't know how to proceed. I am also not sure if I will even be able to create designs in Stencil since I don't know Handlbars or json - are those programming skills required or can we still rely on CSS and HTML for most design customization? BC told me there is no support for getting set up and to ask in this forum instead.
Normally I would look under the hood of an existing theme to see how it's built and try "learning on the job" but since I can't even get access to the files, I am at a loss. I created an account on GitHub but I have never used it so I don't know where to look for the files (I did a search but there are thousands of files there and I again couldn't figure out where to start). Can anyone point me in the right direction so I can determine if using Stencil is even feasible for my projects?
Handlebars compiles serverside as HTML. You do still have stylesheets, but we are using some SASS custom functions (documented in Stencil docs).
I'd recommend taking a look here: http://blog.teamtreehouse.com/getting-started-with-handlebars-js

Where can I find up-to-date documentation about the WCF Web API?

I've been strugling with WCF to do REST the way I want it to work. And apparently so has quite a few others. I've heard about the WCF Web Api project, but wrongly dismissed it without looking too closely at it. Sadly, now that I'm looking at it I find that the documentation is rather outdated. Like, this blog post has some nice information, but classes have changed, parameters have changed, in short, design has changed.
So I've been using an old example of how to plug in Json.NET (newtonsoft) as my serializier, only to realize that after I had it working, it wouldn't work for my IErrorHandler. Further I had a problem with how to Deserialize a string from the uri template to an operation Type parameter.
It appears however that I should be able to solve these two problems (and presumably many others that I haven't stumbled over yet) by using the media formatter extension point and what's referred to as Processor<..>s in outdated documentation, which is now HttpOperationHandler<..>s unless I've missunderstood.
My problem is rather basic, I can't figure out how to correctly configure my IIS-hosted app to use my operation handler, assuming I've implemented it correctly. Since it feels rather dumb to ask for instructions on such a basic thing, I'll rather ask where I can find some documentation on how to do this sort of thing? (Explanations are welcome of course.)
I'm not after seing which classes exist, or what their methods are named with what parameters. I can see all that in my object browser. I need documentation for the overall design, and/or examples implicitly describing things like:
How do the different classes in the API fit together?
How can I configure from web.config?
Must I rather do a custom HttpServiceHostFactory?
What and how are you meant to use the framework?
How should I extend to reach what sort of goals?
How should I configure to place the extensions in effect?
From the lack of answers I assume the documentation quite simply isn't ready.
I was looking for it on the codeplex site under the Documentation tab, and found outdated stuff.
However, after familiarizing myself a bit with Codeplex I found out that the good stuff was in this Discussion section. Searching a bit in there helped a lot to be honest.
Concerning config-file configuration, I didn't find anything, so I'm assuming this will be added as the last thing before official release. Meaning I'll use the HttpConfiguration in a custom HttpServiceHostFactory for now.
The trick about the HttpOperationHandlers was twofold: Firstly I was throwing an exception in my operation and hadn't implemented a global HttpErrorHandler yet. (Doh!) Secondly I didn't know that the parameter name of HttpOperationHandler<..>.OnHandle had to match the name of the operation parameter.

Where are the docs for the Chromium Embedded Framework?

I downloaded and started playing with CEF, but there doesn't seem to be any docs for it. Not even a working wiki… Am I missing something?
Most of the documentation is in CEF's header files. The binary distribution comes with docs generated from those files. It's well documented in terms of amount of content written, but I had a lot of trouble while learning to use it. The project's Wiki page contains a lot of useful content as does the cefclient sample program.
The CEF3 API documentation can be found at http://magpcss.org/ceforum/apidocs3/
and CEF1 API docuemntation can be found at http://magpcss.org/ceforum/apidocs/. These two links can be found on the Chromium Embedded framework (CEF) wiki home page: https://bitbucket.org/chromiumembedded/cef/wiki/Home
You didn't provide a link to CEF, so I Googled it, and found the project's Web site, which features a prominent link to their wiki.
The wiki has several pages, but the first one that jumped out at me is the General Usage page that shows how to create a "fully functional embedded browser window using CEF".
So I'm not sure where you were looking, but yes, it looks like you were missing something (grin). The wiki documentation is right there.

Possible to create a custom interface, making use of files managed by Alfresco?

Our company's switching from traditional, lame Windows shared drive to a Linux install of Alfresco.
I'm the sole developer here (...go me!) and I would like to hear any thoughts on what I envisage being an interface, created by me, accessible by my team, and drawing on files stored in Alfresco, to modify some HTML files presented by the interface.
So, I would want to make use of file locking on HTML files loaded into my interface, and also the ability to save manipulated HTML files. Offering a version history via my interface would be a nicety, given that Alfresco itself can obviously be used to retrieve that data.
I saw WebDAV support, so I thought, "Hey! I could let my designers modify my pages, given team-decided boundaries!". It sure would beat Dreamweaver for this.
I should also probably mention that yes, we do have the ability to have our soon-to-be-installed Alfresco customised for my purposes, so if it is that this must happen, then any advice around that appreciated also.
Thanks for your thoughts, examples and the like.
The comment attached to this question is the answer I was after.