How can I start with marionettejs yeoman boilerplate? - marionette

I have generate my first yeoman marionette application.
I am having trouble get started though my question is
how can I create a new itemView and displayed ?
Is there any example app using this boilerplate ?

Here are the 3 Marionette Yeoman generatos. Choose whichever is convenient for you. Those are nicely documented so should be alright.
https://github.com/mrichard/generator-marionette
https://github.com/simonblee/generator-maryo
https://github.com/opus-online/generator-marionette-frontend
If you are looking for Marionette boilerplate, here it is.
https://github.com/BoilerplateMVC/Marionette-Require-Boilerplate
Hope that helps

Related

How can i make a multi language nativescript vue app?

I need to have over 10 language in my Nativescript-vue app. I have looked at "vue-i18next" but i don't understand how it works with single file components. I don't understand how it will work if i have exempel app.vue, register.vue, login.vue and so on.. The docs didn't show how to do it on single file components.
Can someone give me a example with nativescript-vue "vue-i18next" or another language plugin? Just show me one single file component how its done ;)

Bootstrap not working in Magento theme

I've got a silly problem. It's probably just down to me not being able to see the wood for the trees... one of you geniuses might spot the problem immediately, or at least I hope so!
I've developed a theme for a Magento site using Bootstrap. First I built static HTML templates, which were tested for responsiveness, and they all worked fine.
I then integrated those templates into Magento... and the responsive elements stopped working. They were working initially, but at some point during the site development, they stopped working.
I've looked and looked at it and I can't see what's wrong. I presume there's some sort of conflict with Bootstrap somewhere but I just can't see it. There are no script errors that I can see and everything is loading correctly, but the responsive elements refuse to work.
Can someone take a look at the site at http://www.collaredclergywear.co.uk/ and tell me what I'm missing? I think it's probably something simple but I can't see the wood for the trees anymore.
Cheers,
Willo
One thing in style.css try commenting it. better remove style.css completely and test
.wrapper {
min-width: 954px;
}

Nativescript addSubview

I'm trying to implement the OpenTok SDK into Nativescript and I've run into an issue that I can't seem to wrap my head around.
Per their documentation (https://tokbox.com/developer/guides/publish-stream/ios/#create_publisher) once you create a publisher object you call:
[self.view addSubview:publisher.view];
I can't figure out how I would tie this into Nativescript, if it's even possible.
My first thought is that I would want a UIView or View element on my page in the XML, then I would call .addView(publisher.view); on that element.
There is a similar question here (Inject pure Java / Obj-C code in NativeScript App) but nothing came of it, the one answer does't provide much help.
I cloned one of OpenTok's sample projects and added their implementation of this call into a gist here: https://gist.github.com/bondydaa/2db355ed45b7e50e4071
You can see at line 117 how they implemented this call. This code raises another question for me in that I'm not sure where _publisherView comes from.
Any help would be greatly appreciated!
In Nativescript you can try calling the 'ios' property of the container you are trying to add the component to. This will return the native object.
For example if you have a StackLayout, you can:
var stackLayout = args.object.getViewById("theIdOfTheStackLayout");
stackLayout.ios.addSubview(publisher.view);

how to create drupal8 ckeditor shortcodes?

what would be the best direction toward creating shortcodes usable in drupal 8 editor?
Ckeditor being placed to core, shortcode module nor shortcode_wysiwig module being ported , I am not quite sure where to start from.
you need to implement a custom module using the ckeditor.api
for further examples see here:
https://drupal.stackexchange.com/questions/139075/implementing-ckeditors-plugin-in-drupal-8

Console app template missing

I want to test out XMLReader but I just want the output to be simple like the console app template, but this seems to be missing from Visual Studio express for windows mobile.
Is there a way to test things simply just to see if my code is working.
Can you create class libraries? If so, use NUnit and write your test code in a unit test method body.
Im a little late to the party but in VS you need create as Console App when first creating website. You cant create a console app after you've created the website

Resources