Lua MVC framework on Heroku - heroku

I have been developing a Web app in Lua via Sailor MVC framework on Windows with MySQL and Apache 2 using mod_lua.so.
Is there a way to run it successfully on Heroku platform or not?
Regards

Heroku doesn't officially support Lua (ref: https://devcenter.heroku.com/articles/buildpacks#officially-supported-buildpacks). That being said, there appear to be a number of third-party buildpacks that give you a Lua runtime. The first couple that showed up on Google seem somewhat stale. The good news is that you can create your own buildpack if none of the existing ones work for you.

Related

How I can install varnish cache in my app openshift?

I need to install and set up step by step the varnish cache in an application in OpenShift , but I do not know where to start and not the steps for this. Can anyone help ?
If you mean OpenShift Online in current production version, it's older version 2.x, based on RedHat's own container technology.
If you have OpenShift Origin or OpenShift Enterprise or OpenShift Online Developer Preview, probably it's version 3.x, and it's based on Docker.
You can definitely tell which version are you using by looking at CLI tool's name. If it's rhc, it's older version 2.x, if it's oc, it's newer Docker based.
For newer Docker base, you should be able to deploy any docker image, so varnish should be no problem at all.
You just have to build your own docker image and follow OpenShift tutorial to deploy it on your platform.
I started to play with it, but don't have enough know-how to provide you with step-by-step tutorial right now, maybe in a week or so.
However, if you are using older public version of OpenShift Online, I have a bad news for you.
I've tried to compile static version of varnishd, no luck till now. And I'm not going to try anymore, because fully static version of varnishd is not possible at all, as it's based on dynamically loading of compiled VCLs, thus should be dynamically linked to OS libraries.
And this could be a bit hard to achieve. You have to match correct versions of OS libraries and still it's fragile as it could possibly break after upgrade of underlying OS.
I wouldn't try this in production.
I suggest you to try another could provider, either IaaS solution with full OS with varnishd installed from packages, or choose any Docker hosting provider.
Or, if you can afford it and it's worth for you, you may try http://fastly.com/, a CDN provider.
Their technology is based on customized older version of varnishd, with easy to use GUI, a lot of fancy built-in stats, etc... But the most important feature is you can deploy your own VCLs upon request. If they enable it to you, you can upload new VCL in few seconds.
Good luck.

Is React Native v0.19 version currently unusable with socket.io?

My team have been battling to make react native play nicely with socket.io for 2 days now, without success. Is anyone currently using the most recent version of react native successfully with socket.io, or is the technology just not ready for commercial environments?
According to the answers to this question, there at least used to be a way to do use socket.io with RN. If that's indeed the case, I'd suggest opening an issue in the github repository, it might be a rather easy fix. I'd also making sure there are no existing issues related to what you're asking about before submitting an issue.
Good luck!

stackmob addon for heroku

We're looking to build out our mobile app using Stackmob and Heroku for backend.
There is a Heroku Addon that enables a developer to control the app server-side logic using Rails.
There is not much documentation available on this addon nor are there examples.
There is a fair bit of media coverage on the add-on but no clear implementation and use-case path.
If any one in the community has some insight, we and other developers would sure benefit from hearing more.
I believe the StackMob Heroku add-on is discontinued. You can still sign up for StackMob directly on the StackMob site and use in your Heroku apps. They have multiple getting-started guides, including for Ruby, if that's what you use.
I'm the platform evangelist for StackMob.
friism is correct, we recently discontinued the StackMob Heroku add-on. (basically a way to provision an account and get up and running a little quicker on Heroku with StackMob)
This change won't prevent you from using StackMob on the Heroku platform.

Providing web services through XCode

All,
I'm writing an extensive iPad application with a Core Data based data model. Because the app requires a lot of user input / typing, I would also want to make the functionality available as a web page, so that users can use standard PCs to key in some of the data.
I'm not particularly worried about the UI for that web app, but I do want to re-use the application logic and Core Data model that I'm using for the iOS app, so my preferred approach would be to expose the functionality as web services on a Mac (using the built-in Apache web server, most likely), using XCode for MacOS.
(1) Are there any existing XCode-based frameworks that simplify the generation of web services?
(2) Am I missing something obvious i.e. is there a better approach to tackle the problem "exposing iOS functionality through a web environment"? Obviously, I could've immediately focused on writing the app in HTML5, but I did want to leverage all the goodies that come with iOS/Cocoa.
(3) Alternatively, I could write a native Mac OS app. That facilitates the re-use of Core Data, etc., but I heard it takes a lot of work to port iOS apps to Mac OS. The question then is what's more work - exposing the functionality as web services or porting it to Mac OS... in both cases, I would need to rewrite the UI.
thanks everyone,
Fabian
If you want iPhone/iPad users to be able to access the App through the PC web browser to send data/files to the App then take a look # this one:
http://blogs.oreilly.com/iphone/2008/09/creating-an-iphone-based-web-s.html
Check this question too:
https://apple.stackexchange.com/questions/9012/has-anyone-ever-tried-to-use-an-iphone-as-web-server
I did some more research and came across the WebAppKit framework. It allows you to easily set up a web server capability and handle requests and responses. It's lightweight, easy to understand - exactly what I wanted.

Application development with Rational ClearQuest

Has anyone had experience with developing web apps using ClearQuest? Looking at the features, it mentions process automation but I'm not sure how large of a process/application it can support. Our group gave up a small section of a larger application to another group that used ClearQuest to web-enabled the process but now the ClearQuest tools are being pushed on us to web-enable the entire application. I have a ASP.NET background but ClearQuest is very wizard like and the only code that I've seen is called "BASIC" and it looks a lot like VBScript.
Clearcase/Clearquest has decent integration with Rational Applicaiton Developer. I am not sure if you arsking about its strenghts or actually exposing ClearQuest to the web. You can do the obligatory and lame activity of writing CGI/PERL scripts to expose some of the features to the web. You can use perl or VBScript to write CC/CQ hooks. It has its own perl build included in the product called ratperl. It has fantastic command line support but it comes at a price of complexity. CC/CQ is very powerful provided you think about the implementation in your organization very carefully. It can support very powerful work flows and is highly customizable.
There are several APIs which allow you to do what you want, write a WebApp.
CQWeb itself is built using the CM API, which allows a Java application (web or non-web) to be build. A tutorial is here:
http://www.ibm.com/support/knowledgecenter/SSSH5A_9.0.0/com.ibm.rational.team_api_cq_tut.doc/topics/teamapi_cq_abstract.htm
You could implement a basic web application using perl-CGI, since CQ has a Perl API.
You can write an ASP/C# web application because ClearQuest has a OLE (Visual Basic) API. The original ClearQuest Web application was built using the Visual Basic API
So the answer is yes, it is possible.
Wouldn't it be nice it supported a JavaScript API? Then we could write nodeJS CQ applications.
Sure it's possible, for a VS style integration I would either wrap the cqole.dll or use the OSLC connectors to get access to the RESTful interface. While the cqole is the C++ API and it is not officially supported this will suite you better than trying to implement this with the VBScript API. If you are more comfortable with just using the web services I would check out jazz.net where the wiki explains the bridge in gory details.
You dont exactly develop webapp with ClearQuest, CQ is only a process automation tool that build on logic and state transitions, and the interactions are scripted in either VBScript or Perl.
However do note that it has always been a pain to manage CQ codes as the "Designer" itself is a completely broken tool. It supports version tracking but doesnt tell u the difference between versions. The built-in code editor doesnt have syntax highligting, and it doesnt support parallel development. I can go on and on.
In the later versions, (version 7 onwards I supposed), CQ comes with eclipse based client AND designer tools, which supposedly enhance the whole experience. But I dont have too much experience with it to comment.
As for the web component, it runs on the websphere layer and simply is a application/presentation layer for users to access CQ through a HTTP protocol. It has 90% of the features of a full CQ client, and is usually easier to maintain and deploy to a wide user group.
Check out http://open-services.net/ for information on development using Open Services for Lifecycle Collaboration.

Resources