Alexa Skill offline - echo

Does anyone here have experience building an Alexa Skill that can be accessed if the device is not online? Need something for a demo and trying to understand the possibilities.
I have built something on SaySpring, but it just does not quite have the "wow" effect. Thanks!

If you use to have the Lambda function on AWS, than it will not working in the offline mode.
But:
There is the possibility to create a own Lambda Backend at a url you want using https. Thats quite difficult and I never tried it correctly before. Have a closer to it here.
It would be great, if you can share your experience, because I'm looking forward to a individual solution like that.

Related

Do I use stacks or do I make isolated APIs and Frontends?

I have been making Web apps for a while now. Mostly frontends.
I have always wanted to make fully functioning websites, and therefore, my question.
The question might be dumb, so please bear with me...
I have realized that there are two ways I can develop web apps:
1. I initialize/work with stacks (MERN, LAMP). Everything inside one folder. The
backend throws the HTML code (as far as I understand).
-----or-----
2. I make a Frontend service (localhost:3000 for React (for example)) and I create
a RESTful API (with its own endpoint, say localhost/somethingBackend or
something like localhost:8000).
My question is:
Did I understand this right ? Is this how webdev works ?
And the more important one, WHEN TO USE WHAT ?
What is faster or better ?
Normally I'd google something like this, but there's either not much Information about this, or more probable, I'm searching the wrong thing.
Please help me clear my concepts.
Thank you for reading this long post :)
Both are correct approaches.
But the first one is a more traditional approach towards web app but it comes with the difficulty of writing sensible, reusable code in it compared to writing random-looking nonsense which happens to work, along with performance and reliability issues.
Writing code with a RESTful approach is what I personally prefer. The majority of frameworks use this approach. Maintaining code between teams is easy.
Modern backends like nodejs can also throw HTML as a response(see templating engines) but as I said option 2 is always preferred.

Creating overlays for different apps in OSX

I want to create an app for OSX which would work as an addon (displaying some overlaying information) to other app. Something like Poker Tracker for example - it shows extra information for poker games while playing on tables.
Just wondering is it possible using Swift? Can you point me to some direction what to look for? some libraries helping with such case? Never developed anything for OSX but keen to learn.
Thanks in advance.
Just wondering is it possible using Swift?
Yes, you can use Swift to create macOS applications. It's not magic, though -- your Swift code can only do things that are actually possible.
Can you point me to some direction what to look for?
Look for an API that lets other apps interact with the host application. That API will define what your "add on" application can reasonably do.
Without some sort of API or scripting interface, it's going to be very difficult to write a program that interacts with the host application. The best option is probably the Accessibility API in macOS. Accessibility is meant as an assistive technology, but it's often repurposed for tasks like automated testing. You might be able to use it to gain some level of control over the host app.
As far as I know it doesn't expose any API, so it would need to be image scraped.
This is really a tall order, and doubly so if you're asking basic questions about language capabilities. I think you'd have much better luck creating an efficient user interface so that the user could enter the relevant information directly, e.g. what cards the other users are showing, bet sizes, etc.

How to create a controller and display in browser in zend?

i am new in zend framework. Please help me to create controller and how navigate in browser.
Not the best question, because it shows you haven't searched much. Let's search together:
framework.zend.com
StackOverflow
StackOverflow again
StackOverflow 3
So either search better or please try to explain your need with more details and show what you have already done.
Yeah, this is pretty vague.
I'm assuming that you have some experience with computers, computer programming, the Linux operating system, and developing for the web. Object oriented programming principles, as well as some awareness of php itself are also going to be very helpful.
Do you have an environment to work from? A webserver that's capable of running php? You'll need that, as a bare minimum first. Luckily we live in the days when it's easy to set up virtual environments for that. Try puphpet. It's awesome. While you're at it, make sure you get MySQL, as you'll need it for many of the tutorials provided by Zend (and others).
https://puphpet.com/
Have you downloaded the framework?
If you use the zf tool to create a project, as described in the link below, you'll have a basic application that includes a Controller and that you should be able to browse to.
http://framework.zend.com/manual/1.12/en/learning.quickstart.create-project.html
That should be enough to get you going.

Creating app to test email design on different devices

Recently I was faced with the task of creating an app which will test the look of a new email design on different devices and mail clients.
I'm looking for suggestions on how to implement such a solution?
What Im looking for is something similar to this : http://mailchimp.com/features/inbox-inspector/
How can I implement something similar?
Maybe something based on system virtualization (possibly combination of vmware machines)?
Or application just knows the differences in rendering and visualize them (it's not actually testing, is it ?)
I have to say that i'm a bit in the blind spot, and have no other ideas then those mentioned above.
Thanks

What Should I Read To Become Familiar with Developing using SocialEngine?

I am capable with PHP, HTML, CSS, JavaScript and SQL, and not bad with Drupal. Very recently, I acquired a customer that wants me to do some SocialEngine 4.xxx customization. My customer is aware that I have no experience with SocialEngine, but am capable with the underlying technologies (I gave him a lower hourly rate because of this too.)
I'm not seeing very much online that is geared towards someone like me. Where can I read about modifying SocialEngine that assumes very little knowledge about SocialEngine, but a competency at programming?
For example, I spent a few hours today trying to figure out how to conditionally display a block based on a Membership Level. It appears there is no way to do this using the GUI. No problem, I found some code that seemed like I could get it to work that would grab the user's membership level. However, where do I put this? Honestly, I'd like to have this at the block-level. SocialEngine doesn't seem to allow me to place arbitrary PHP code into a block, and even if it did, would that be the "SocialEngine" way of doing this? Should all custom logic like this be a module in SocialEngine, that attaches to events using hooks?
Thank you very much for looking at my question,
-Brian J. Stinar-
I've written a blog about accessing data through models, creating widgets and modules. You can find out about the general structure of Social Engine at http://garbtech.co.uk / http://socialenginetutorials.co.uk (both same blog)
Unfortunately, there are no books or official documentation on SocialEngine PHP API. Your only choice is to check out various (incomplete) guides over the Internet or study their source code and figure things out by yourself.