I know wordpress,joomla,drupal etc ( most of php_mysql stack ) can auto detect update in software itself or/and plugin and either ask for user permission to update or auto update it.
How to do similar thing on google app engine like cloud computing ?
I am creating an open source software which is targeted towards non-computer people. who can not clone my code and update their application easily.
what is the easier way to do this ?
While it's technically possible for an app to re-deploy itself, implementing this functionality would be difficult, and may be contrary to the Terms of Service, too.
If you want non-technical users to use your app, your best option is to provide it as a Software-as-a-Service app - eg, a single instance that users pay for access to, and which supports multi-tenancy - and update it yourself.
Related
I am currently building a large NextJS application. I just need to integrate Google Analytics 4 for the client. Should I rather include Google Analytics directly in my application or include the Tag Manager and configure Google Analytics through it?
I have never really worked with Google Analytics before and I am confused. Theoretically it is more practical to integrate it directly, because I can set dimensions etc. and don't have to configure so much in the Tag Manager?
Thanks
You should use a tag manager. It abstracts trivial implementations from your codebase and makes it much easier to maintain and scale them without requiring dev resources in vast majority of cases.
On the other hand, if all you'll ever need from analytics are pageviews, then sure, you don't need GTM, just implement it directly and then once you see that you need more, you can move the logic to a tag manager.
GTM is pretty good and free. However, proprietary. Matomo is free and open sourced. Not as good as GTM though. Adobe Launch is probably the best, but it's not free (Adobe doesn't consider it a standalone product) and it requires a bit more skills than GTM. In between, there are also things like Ensighten or Tealium, but they're not very advanced.
If you only need Analytics on the website, no need to use GTM : you just add Analytics and that's it.
GTM makes tags easier to manage and gives trigger options, so it can be useful :
if non-technical people have to manage tags (like the client)
if you have several tags and want to manage them all from the same interface
if you need triggers and rules that are easy to setup
This question comes from working on my webapp, a feed reader written in Go. The code is available at http://github.com/matthewbauer/rivulet although that should not be necessary to answer the question.
I have a webapp written in Go that is running on Google's App Engine. It uses the usual common App Engine libraries like datastore, memcache, and user.
Is there any way to let my users run this app on their own without breaking App Engine compatibility?
Go now provides build constraints that exclude/include files based on target build platform:
// +build !appengine
So, I know that this is possible. But, my biggest problem is with my libraries that depend on App Engine: datastore, memcache, and user. I know other libraries provide datastore and memcache, and I can implement user on my own, but how would I go about wrapping it up?
I know that I can have them set up a development server with the SDK, but that might be too involved for some users. I want a single executable that normal Go projects provide. IS that possible?
If any examples exist, I haven't found them yet; any examples of App Engine independent webapps would be appreciated. I can learn by example.
You will probably have refactor your code.
The basic rule of thumb will be anywhere you depend on an AppEngine package define your own interface for the way you use it. This will allow you decouple the app from the appengine libraries.
Once you've defined those interfaces then you can start providing alternatives that satisfy the interfaces. You'll be able to plugin any Datastore or Memcache that satisfies the interfaces and your app will be able to both run on appengine or as a standalone with the alternatives.
There have been a few articles and questions about how to do this but they all seem to have a bias to iOS.
So first of all I am currently using PhoneGaps database functionality:
http://docs.phonegap.com/en/1.0.0/phonegap_storage_storage.md.html
I have a database I need for the app to run from as it contains a lot of information, probably about 1mb worth (can be exposed as .db/.sql). So I want to be able to make my PhoneGap app and build it for as many platforms as possible. However I want it so that as soon as the user has installed the app it automatically installs the database for them.
Some of the solutions seem to recommend creating the database on first boot, but this just seems a bit hack-ish and sidestepping the problem.
I am more than happy to switch over to use webSQL if Android, iOS and other providers support it, however as PhoneGap wraps any available native OS DB functionality it seemed more realistic that you can get an app to pre-populate an Android database and access it via PhoneGap than pre-populate a web database and access it via webSql.
Hopefully this question makes sense and there have been advances since mid last year, which seems to be the last up to date post on this sort of thing.
I just answered another similar question on this topic. First PhoneGap doesn't implement the Storage function that is documented. In fact we take advantage of the sqlite and localStorage functionality that is implemented in all webkit based browsers.
My recommendation is for you to pre-populate a SQLite DB and on application startup copy the DB to the correct location so your app can access it. There is a good blog post on this topic at:
http://gauravstomar.blogspot.com/2011/08/prepopulate-sqlite-in-phonegap.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+GauravSTomarBootstrappingIntelligence+%28Gaurav+S+Tomar+%3A+Bootstrapping+Intelligence%29
I am not sure whether i should call this next big idea but we need to take rapid application development to next level.
Example : I type in google search (assuming i am logged in using google account)
#appspot #myemployeeapp #select name,address from employee where rating >10
Outcome : Should Generate working appengine app
http://myemployeeapp.appspot.com
[this app will automatically generate various screens to create,edit,delete,update employee name,address,rating.
This will revolutionize the way non programmers can generate and organize data with a single query and focus on their business problem.
1.My question to this community : Are there any tools which help me generate UI based on my datastore model or sql query. I want standard UI based on the model and relationships.
Are there any other rapid development tool this community wants to recommend on appengine platform.
Grails with Grails AppEngine plugin, maybe.
I think Grails will be right choice for your requirement. It provide the scaffold view for your domain model.
I've been directed to force.com as an alternative to creating an application using PHP and MySQL. My question is about deployment. What happens after I build the application on force.com. If the application is based on their API, will I be able to serve this application from my own domain if I wanted?
Simple answer is "no".
Your application is hosted on their servers, built in their own language (based on Java and Oracle DB but you'll never see them directly). You will create your application mostly with clicking through the setup (even for adding fields to tables there's GUI, no way to say ALTER TABLE ADD COLUMN), in some rare cases when you'll need complex logic you might resort to programming in Apex and Visualforce - but these languages won't work outside Salesforce.com platform.
Having said that - of course you can use your own domain name (to literally "serve this application from my own domain") and there are many integration possibilities so Salesforce app could interact with other application written in PHP for example... But there is no straightforward way to create your own "salesforce server" like you'd install an Apache or MySQL server.
You rely on their service for both hardware and software which will act as web server, execute your custom code etc.
Last thing - if you hope to build something reusable that might be helpful to other companies and you'd like to sell it in some sane way (not having to repeat all the clicking in each client's environment etc), have a look at appexchange. It's a place where you can find many pre-built Force.com apps (think about them like plugins to Wordpress, Joomla, osCommerce...).