Framework Choice / Recommendations for Google App Engine [closed] - java

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
i want to develop a big web application in Google App engine, but I don't know which framework to use in order to obtain the MVC Model. I prefer to use Spring MVC, but I read that several problems with GAE. Another option would be to use django with python but I have never used that. What framework or option do you recommend? Are there other frameworks?
Greetings

You should check out web2py -- it's a full-stack Python MVC framework that's very easy to set up, learn, and use. It was designed to run on Google App Engine out of the box, and there's a whole section in the online book dedicated to GAE (there are also other references throughout the book discussing a few special considerations when developing for GAE). There's even a "Deploy on Google App Engine" button in the web2py browser-based IDE (see the IDE demo home page and GAE deployment interface).
Your web2py GAE apps will also be portable -- you can deploy them on other platforms (e.g., a Linux VPS) without changing your code (though you may want to make some adjustments once you're off GAE and no longer subject to its limitations).
If you have any questions, you'll get lots of help from the mailing list.

I've used Stripes on Google App Engine with success and pleasure. It's a simple yet really powerful MVC stack, very easy to learn and use, and with great documentation. I've been able to integrate it with Guide (for dependency injection) and Sitemesh (for page templating). If you're interested, the code for the application I developed is available at http://code.google.com/p/memwords/.

Django is a best framework for projects without incredible high load, but GAE supported by a very old version.
Try to use Pycharm for editing GAE-applications. This is already usable IDE with active development

Take a look at Tornado, it's a scalable, non-blocking web framework in python and it's simpler and easier to develop in than Django.

Related

Creating desktop application based on Android project [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I've created an Android application, which is generally aimed on Tablets. Its main business-logic is in pure java, it contains around 10-15 Activities, SQLite database, it performs HTTP transactions, exports information to different formats etc.
My customer now (out of a sudden) wants to have exactly the same application running on Windows 7 or 8.
What is the simpliest and the most straightforward way to create such an application (I do not consider using emulators)?
I've never created GUI for Java-applications before.
Gradle subprojects
Since you are probably using gradle already, you can decouple your business model from the platform, moving them to another project, from which your android and desktop projects will depend:
--Main Project
|-- core
|-- android
|-- desktop
https://docs.gradle.org/current/userguide/multi_project_builds.html
Platform Agnostic Frameworks
If your app is using frameworks like retrofit, which work on both and Android and common java projects, you can move its usages to the core project.
GUI for desktop project
This question covers very well different GUI frameworks from where you can choose.
Keeping your MVC
Decoupling your project in such a way is not an easy task. You'll need to carefully think on how your core project will interact with the others (i.e some internal API). Basically, you will keep working on a MVC-sort-of-architecture, but now your android project will be a view, and your desktop will be another.
Similar question: java desktop and android application at the same time - shared packages
(Little bit off-topic but it might help you)
While the multi-project approach might seem like a nice reuse of existing code, it might get harder depending on how your current project is structured.
Another approach would be to use something like Electron with Polymer and/or AngularJS.
If you are familiar with web technologies, it can be a lot easier to create your desktop app like this. And you have a plus: a browser app is just one step ahead.
Also, Polymer keeps material design on your desktop app, making your designs more consistent between platforms, which might be difficult to achieve using native java frameworks for desktop.

implement a web-app for document collaboration [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to design a document collaboration web-app where students can share their academic documents with the instructor and instructor can comment and give grade to their work. I have explored Sharepoint and I found that it is the right solution for my requirements. However, I would like to gain hands-on knowledge of Java, HTML/CSS and other leading technologies which might need to develop Sharepoint-like application. In past, I have developed a web-app tool(CreditCardDebtViewer - https://github.com/dhanu010/dredit) for credit card management using Google REST API (using Drive and Spreadsheet API) so I am familier to Java, angularJS, HTML/CSS etc.
I have following questions -
What are my options if I opt to write a web-app?
Which technology suits better for developing such application and
also for giving me good opportunity to learn the technology?
How development using google API help in document collaboration
where instructor can access all the shared documents uploaded by
teams (which may comprise 2-3 students)?
Other than Google Docs, Which API can I use to develop this
application.
Please guide me.
Regards,
Avani
Probably it is a quite late answer but you can try http://swellrt.org, an open source framework to develop collaborative apps with real-time rich-text editting.
You might want to look at CMS (Content Management Systems). These will have document management, versioning, permissions, workflow, etc.
There a number of popular Java based systems and two big standard: JCR (Java Content Repository) and the newer, language agnostic CMIS (Content Management Interoperability Service).
If you wanted to start with a framework and build you own, look at Apache Jackrabbit or Apache Sling.
If you were looking for something like Sharepoint, a finished product that you can extend, look at Hippo CMS or Alfresco CMS.

About Android Frameworks, UI design, and tips [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there some native android framework that uses only java? Example: create buttons, text fields, containers, ext.
And my biggest problem is with the design. I would like to know if is there any framework that facilitates apply styles to buttons, fields, layers, etc? Like twitter bootstrap, but only in java. I do not want html and css frameworks .. I used the phonegap and is very slow compared to native app.
I should use Framework or create my own code?
I highly recommend using the native Android framework using Java to write your code and XML to write your layouts.
The first reason you will want to do this is speed (like you said yourself, native apps typically run much smoother than apps created using PhoneGap and other third-party frameworks).
The second reason is that there is a ton of documentation and tips online teaching you how to write Android apps... there won't be nearly as much documentation available to you if you decide to auto-generate your application using some sort of third-party framework.
To help generate layouts, there is a GUI-builder that you can use in both Android Studio and Eclipse.
The Android SDK available from developer.android.com is the preferred framework. It is based on Java. Apps are written in Java, using the Android API. You must use the Android widgets, not the Java Swing widgets. You can apply styles to Android widgets.
When you go into a new development environment/platform, regardless of what it is, you can only take your existing knowledge so far. Designing web apps and web GUIs is not exactly the same as designing Android apps and GUIs. Designing an Android app is not even the same as designing an iOS app, although many developers make that mistake.
You may be able to craft a simple, functional app using a development tool such as twitter bootstrap (in the past, these were known as "fourth-generation languages" to differentiate them from regular programming languages such as PL/1, Pascal, etc.). At some point, however, you won't be able to get exactly what you're looking for, and then you'll have to learn how to use the SDK as delivered.
In short, none of the shortcuts get you there exactly.

Advice on what platform and technology to use: distributed bookkeeping app [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have an opportunity to learn some new tech to write this code. Basic requirements:
users in various locations worldwide
user control: control who can see, edit, approve various sheets/accounts/transactions within a sheet
parse bank statement files into the system
generate reports
robust logging: who enters, edits, approves transactions
secure, reliable data storage
ability to serve from the Internet, or a local network web server
I was going to use a Google Docs Spreadsheet with scripts, but I can't see the user control being rigid enough.
At the moment I am leaning towards Java Servlets and JSP with Google App Engine.
What would you use?
Servlets and JSP are good technology but fairly basic / low level. You might find it more interesting and productive to try on of the newer web-based frameworks.
Some ideas:
Vaadin might suit this kind of application pretty well, it's a framework for rich internet applications that gives you much more sophisticated components than you could implement with plain JSPs.
I've also heard very good thinks about the Play Framework.
If you are feeling really adventurous and fancy picking up a new language (Clojure) then Noir is also a great web framework in the making.
The only requirement here that may be a gotcha for App Engine is "ability to serve from the Internet, or a local network web server". What exactly do you mean? If this is something that your users are going to want to install locally then App Engine is out of the question.
Any sort of java based solution is going to fit all of the rest of your requirements. Since you have a lot of logging/security, you may want to look at Spring MVC with Spring Security or even Grails (which also supports spring security).

What Java REST framework to use with App Engine and Android for students? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm teaching a college course on mobile application development and would like to introduce my students to a REST framework for use with App Engine, to help them with data storage for the Android apps they're building. Could anyone recommend a Java REST framework for App Engine that meets the following criteria:
Must have:
Easy learning curve
Well-documented, with clear tutorials and sample programs
Clean abstractions
Free as in beer
Works well with Eclipse
Nice to have:
Android client
Free as in speech
Not important:
Able to support large query volumes
Highly customizable
From my web searching, Restlet looks best. Is there any other framework I should consider?
Well, I would highly recommend play framework
Have a look at the video on the homepage
It has a gae module
With siena as a orm to handle gae datastore
From all the java frameworks I've seen so far, I think it has the easier learning curve,
great documentation,
a tutorial to develop a complete application
very active and helpful community
free as in beer and also as in speech
highly scalable due to it's stateless out of the box design
rest friendly
highly customizable via it's modules and plugin approach
more over, taking into account it's for a college course, it's really easy to hack into the code, I could handle a couple of tickets and new features without any experience at all with java, just a couple of year developing web applications with php
other benefits
it's really easy to start, no complicated setup involved, just download and unzip the file and your are ready
great development experience, just fix the code and hit refresh, play autocompiles changes on the fly when running on development mode
fast and lightweight
fullstack, you don't have integrate cumbersome frameworks to make it work
great errors report, no more endless error stack trace, just shows you the line with error
no xml configuration anywhere around
great support for tdd with selenium integrated test
I think the main advantage as a learning tool, is that it's possible to peek into the source code without feeling lost and the community support... The documentation is very clear, and you can learn a lot by just having a look at the source code...
Jax-RS...Restlet was written before this but was modified to implement Jax-RS.
This is a similar answer you might find useful.
Could you take a look Spring framework?
i think it may be contented with your request.

Categories