How to generate QR-Swiss - freepascal

just done a small Application with Lazarus and SQlite for quick and easy creating invoices. (OS: Linux Mint 20.3)
Now looking for a QR-Code generator.
I find a lot for Java/Python/PHP - unfortunally nothing for Lazarus .
(Java, yes could call them from the application - but melted in is much preferable)
Any suggestion ?
Erich

Related

MAMP or Mac nginx MySQL Lua

I've recently purchased a Mac Mini with the only purpose of being a server.
I'm a C programmer, learning Lua and Obj-C at the moment. I'm trying to set up a website, a kind of CV/Personal Promotion site.
I've been looking at MAMP for a while however, I would like to use nginx and Lua in place of Apache and PHP.
My thought is using Lua instead of PHP would help accelerate my learning curve.
Does anyone have experience with this setup or using lua as server scripting?
Cheers
There is Jan Kneschke's lua magnet of which I maintain a fork on github. I use this in conjunction with FastCGI (and luasql.sqlite3) for a small message board, which was previously written in PHP, then python.
The PHP and python versions each performed so-so (which may be due to me not being a good PHP/Python programmer at that time), and each took about 10-40MB of RAM. The Lua version runs within 1MB and is measurably faster. Also the code is easier to read, IMHO.
Note that you will need some helper modules to work with POST requests. The download files to the book Lighttpd contain a version of cgi.lua that does the trick. If there is interest, I can make it available on my GitHub.

Develop Native Application on Ubuntu with HTML/CSS GUI?

Redmond has a good idea occasionally:
The next-gen Windows will come with a new programming foundation, letting developers build native apps with the same techniques they use for Web applications. Microsoft calls this new variety "tailored apps."
There is always a steep learning curve for developing GUIs; each new toolkit you learn is different enough that it takes a lot of time and effort and frustration. Thus developing in HTML with CSS begins to look very appealing: it's much easier and much more portable; and with HTML 5 and CSS 3, it is very powerful.
Is there any support yet on Ubuntu (or even better, a cross-platform toolkit) for developing native applications that use HTML/CSS for the GUI? To minimize overhead, I do not want to start a full browser session. (That's not very good desktop integration.) I am particularly interested in answers for native JavaScript or Python 3, but any language would be alright (easier to learn a new language than a new GUI toolkit, in my book).
Edit: I have found this page, but have not had time to read it all or test it. It linked to Python XULRunner, but again I have no previous knowledge of it.
This was asked on Ask Ubuntu back in August of 2011.
In summary, the options are:
SeedKit
The JavaScript bindings for GNOME.
There are more options, but those are the two "big ones".
You can write native apps in HTML/CSS and Javascript using node-webkit, is an app runtime based on Chromium and node.js, you can use node.js modules into your apps. it's available on Linux, Mac OSX and Windows
I would like to add QtWebKit to the list. It's like SeedKit with better support.
I'm using it personally on a project where we have native (C++) code for the data layer, business logic and the presentation layer is done via HTML5 and heavy use of JavaScript. As far as I know Qt can be used with python as well so perhaps you could use it for all the business logic.

GUI Development - Free Tools

We are looking at building a GUI application having the following attributes -
* approx 100 screens
* approx 200 users
* interfaces with 8 different legacy applications (protocols tbd but we are assuming web services will be exposed)
* has a separate data store for storing authentication and authorisation info along with few other information.
We are trying to avoid spending any money on procurement of physical servers, application servers etc.So we thought instead of building a web application , we could develop a standalone GUI based application that could be deployed on users' desktops considering that the users are less and the access to this application is confined to our organisation.
We were thinking of Java Swing as one of the options to consider. Is it a good choice? Please advice on the other options that we need to think about. We thought MS products would involving licensing costs to buy the product hence we are looking at developing the application using some free software tools.
Thanks a lot!
Regards,
V
I really like Swing and have written many applications with it, but I'm not sure the argument that you will get a cheaper solution because you have to procure less physical servers is a good reason for it.
There are other ways to use computational capacity on the client side. For example you could use SmartGWT. With a browser based solution you get easy deployment and have no problems with client-server communications (i.e. no proxy hell). It's possible to get all of this solved with a standalone GUI, but it requires experience and time (== money).
I think a standalone GUI is a good idea if you need a "rich" user experience and tight integration with the native environment. Web apps are generally less snappy and not so well integrated. If it's just about editing data on a server, the standalone GUI does not really have any advantages.
I won't rehash what we talked about in the comments. It seems you are focused on java gui solutions. With that said there are alternatives for developing gui applications with free tools. Just to name a couple, you could develop your client with Adobe Flex or Adobe Air, use python, php or ruby and GTK, or develop a windows GUI app using c# if your target os is windows. Similar to Air, Microsoft Silverlight is an option. Java is not the only solution.
Many Java gui apps are written using swing. The major competitor to Swing has long been SWT which is used for eclipse and by IBM. Javafx is a newer/alternative platform Sun/Oracle is behind, you should also look at. To be complete, you should also take a look at qt jambi that lets you develop in java against the Qt framework.

What is the ideal set-up for Adobe AIR , Flash/ActionScript and SQLite development?

I am getting into ActionScript-ing and SQLLite development.
What are the essential development IDEs and utility tools I should get set up for a smooth development experience?
It would be great if you categorize - as free and paid-for-software.
I am accustomed with the Microsoft "free" experience in terms of - Visual Studio Express edition or SQL Server Express edition.
Are there similar counter parts for this platform?
FlashDevelop - Open source IDE for flash but no visual designer. As far as SQLLite you can actually create and manage the databases all with actionscript but if you want to edit/create them with an IDE there are several open/free solutions, from a quick google search we have:
//SQLLite DB manager/admin tool made in Adobe AIR
http://www.dehats.com/drupal/?q=node/58
//Same idea but open source made with QT so probably C/C++
http://sourceforge.net/projects/sqlitebrowser/
//FlashDevelop
http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page
Flashdevelop is pretty much king when it comes to code hinting/completion, pretty much what you'd expect in features from microsoft VS IDEs. There is also a pretty good user base and thus many tutorials/documentation and project templates.
I too use the DB admin tool formerly from www.dehats.com, which has since been renamed Lita and put on GitHub . However, a significant drawback to Lita is its complete lack of runtime error reporting when executing SQL queries.
Mauricio Piacentini is an excellent programmer, but Flash developers should be aware that his
SQLite Database Browser does not support the non-standard features added to AIR's version of SQLite, such as additional column affinity types.
So, as a complement to Lita I've been using Paul Robertson's Run! app. It doesn't have as many features as Lita, but it supports AIR's version of SQLite and it does report errors in your SQL queries.
Like Ascension, I'm a fan of FlashDevelop.

fastest public web app framework for quick DB apps?

I'd like to pick up a new tech for my toolbox - something for rapid prototyping of web apps. Brief requirements:
public access (not hosted on my machine) - like Google's appengine, etc
no tricky configuration necessary to build a simple web app host
DB access (small storage provided) including some kind of SQLish query language
easy front end HTML templating
ability to access as a JSON service
C# or Java,PHP or Python - or a fun new language to learn is OK
free!
An example app, very simple: render an AJAXy editable (add/delete/edit/drag) list of rich-data list items via some template language, so I can quickly mock up a UI for a client. ie. I can do most of the work client-side, but need convenient back end to handle the permanent storage. (In fact I suppose it doesn't even need HTML templating if I can directly access a DB via AJAX calls.)
I realize this is a bit vague but am wondering if anyone has recommendations. A Rails host might be best for this (but probably not free) or maybe App Engine, or some other choice I'm not aware of? I've been doing everything with heavyweight servers (ASP.NET etc) for so long that I'm just not up on the latest...
Thanks - I'll follow up on comments if this isn't clear enough :)
C# or Java,PHP or Python - or a fun new language to learn is OK
How 'bout Javascript? This place hosts server-side Javascript ticking most of your other boxes. So you can use the same language for client- and server-side stuff (which I find very handy). [Caveat: I only played with their service; seemed cool though. I use Javascript on the server-side on IIS and on Tomcat (via Rhino).]
For something bleeding edge - A new version of spring roo was released recently. With it you can create a great web app in 10 minutes. Supports GAE and GWT...
http://www.springsource.org/roo
xataface is a quick way to make a front end for a MySQL database.
It makes it easy to start an app quickly with dynamically created views and then you can change it to something very customized to your needs.
It simply needs a server service with MySQL and PHP.