what tools and language to start with

Chat about Linux in general
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
Mangar

what tools and language to start with

Post by Mangar »

I am looking to code some stand alone programs in Linux like and app.

However the linux lingo has a leg up on me ATM. I have made VB.exe years past, then I have done server side JS. Java and ASP with DOM to manipulate xml view in xslt and CSS.

If I wanted to explorer making XML data to be manipulated by _____ on a standalone exe in Linux os. Where should I focus my thoughts and what tools should I be looking at. Say if I make another genealogy software to run on linux, or a parts database, or inventory type.

I am looking to create a dashboard in/on linux and can allow me to run client side or generate a look like web base code to store data in XML.

Any experience person have any suggestions? keeping it opensource.

If it works out I would like to sync them via mobile devices if allowed. something that has expand-ability. not to waste my time working towards a dead end application. but for now NOT a text terminal window but more like an access database with a html rendering that is run on a client side or application stand alone how VB use to do it. NO SQL either, i need to compile or parse xml files :) thanks on any pointers for a jump start for a general direction :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: what tools and language to start with

Post by DrHu »

OK, so have a look at Google development, Android and the like.
--their program languages, such as GO or node.js
https://en.wikipedia.org/wiki/Go_(programming_language)
http://www.infoworld.com/d/application- ... ion-188470
http://www.tiobe.com/index.php/content/ ... index.html


Dead-ending a language only depends on market-share or popurlarity (they are interdendent )
--I would also say that program languages are a trendy business, and will only be trendy for so long
  • If you get in at the beginning of a language and it moves, you are in a good positon: assuming that the idea is to monetize your desighn efforts..
If not for that reason, then any language you like is appropriate
--I like APL, LISP (doesn't have to be popular/trendy or of any interest to the market)

For Open source language, I will suggest
PYTHON
RUBY
--or possibly some javascript extension or replacement: typeset comes to mind but there are others such as coffescript or gorillascript
Last edited by DrHu on Thu Sep 11, 2014 4:42 pm, edited 1 time in total.
Mangar

Re: what tools and language to start with

Post by Mangar »

DrHu wrote:OK, so have a look at Google development, Android and the like.
--their program languages, such as GO or node.js
https://en.wikipedia.org/wiki/Go_(programming_language)
http://www.infoworld.com/d/application- ... ion-188470


Desd-ending a language only depends on market-share or popurlarity (they are interdendent )
Thanks DrHu, Q. which / what tools are the linux applets or apps written in? I have a lot of ASP code I wanted to convert to PHP, but thought I might as well code the web base database into a personal PC side application.

EDIT I missed the 3rd one when I quoted you ;) I will read up on two of them to see what may do it :)
Last edited by Mangar on Thu Sep 11, 2014 4:48 pm, edited 1 time in total.
DrHu

Re: what tools and language to start with

Post by DrHu »

http://design215.com/toolbox/translator/trans_login.php
--there's an ASP to PHP (online) converter

http://design215.com/toolbox/asp.php
--and that's a link to their cross-reference (coding style.)

http://www.perfectwebtutorials.com/2012 ... mparisons/
--I had a look at another few sites, one indicated that ASP gets you a business (enterprise) job, and PHP was for hobbyists
  • That might no longer be true, as LAMP and Open-source is popular for many web sites and systems..
And you can always look at enterprsing companies to see what they think to employ and the reasons they do so
http://venturebeat.com/2012/01/24/why-w ... g-node-js/

XML is something else, even though it is cross platform and there are some editors and such, most people, I suspect don't ever really touch that file type (as far as knowing much about it or what to do with it..)
Last edited by DrHu on Thu Sep 11, 2014 4:56 pm, edited 4 times in total.
JohnBobSmith

Re: what tools and language to start with

Post by JohnBobSmith »

Hm... How much experience do you have with programming? For a database and file manipulation program, sounds like you should be using C++. C++ lets you manipulate data on a very low level. It should have no problem parsing XML files and storing them in a database (if thats what you want to do). C++ can also create nice GUI's, with all sorts of functionality. If C++ seems to hard, try Python. While higher-level, Python is still extremely powerful! These are the two languages I use the most, and I find the most useful. I wish you all the best! :)
Mangar

Re: what tools and language to start with

Post by Mangar »

JohnBobSmith wrote:Hm... How much experience do you have with programming? For a database and file manipulation program, sounds like you should be using C++. C++ lets you manipulate data on a very low level. It should have no problem parsing XML files and storing them in a database (if thats what you want to do). C++ can also create nice GUI's, with all sorts of functionality. If C++ seems to hard, try Python. While higher-level, Python is still extremely powerful! These are the two languages I use the most, and I find the most useful. I wish you all the best! :)
thanks JohnBobSmith,

Ok example wartimepress.com I coded the database to run all the menus, images, and articles for a friend hobby collector and historian. They are are multiple xml files like how access runs. I was told after 500 -5000 it would lock up and become slow. it over 20,000 now. only DOM classic ASP Js and java to pass variables. back side all the admin screens are done in the same code. anyway that was a while back. I also have other genealogy dashboards done the same way. there is some C and C++ in the back end.

Well asp.net came out, and htmlx and 3xml stuff mainly for phones I took a break. since then I am now a linux user and figure start making apps to run on the Linux os as tools like huge inventory parts lists used nation wide type thing I can not give a link to that.

I want to expand my linux coding and move away from *cough* some more since Ubuntu has phones coming out also. Tablets and what not. I see field service techs in the field doing updates and can update local inventory and tasks at the end of the day for compliance from tablets. But first I need to get the ground floor done on linux.
Last edited by Mangar on Sat Sep 13, 2014 6:01 pm, edited 2 times in total.
Mangar

Re: what tools and language to start with

Post by Mangar »

DrHu wrote:....
XML is something else, even though it is cross platform and there are some editors and such, most people, I suspect don't ever really touch that file type (as far as knowing much about it or what to do with it..)
Great links, also the Walmart one, doing client side scripting but crunching the important stuff on the back end.

xml is a neat thing, it is simple 1:1 data like an excel spread sheet. but the more difficult people make the xml sheet with ID @ # inside the nodes is like trying to make an excel sheet into a 3d data block, or a sheet running marcos. I always found keep it simple. the more bells and whistle people to mach up a xml data file, that much more coding is involved to parse and render it. Even the node names are way to descriptive. every text letter adds to the file size, every repeated instance adds to the work load to handling it. You want pretty displays, do it in the xsl xslt, not in the database or xml file. that's why other people failed making hugh database on one xml all dressed up in the file node tags. Even spread sheets have there size limits and rows.

xml is sweet when it comes to language files also in apps, import the lang you want and not include extra data not needed. like how CSS or xslt are used render the html code. so in the past I seen people drop everything into ONE xml file *shake it real good* and wonder why it does not work or perform the way they wanted.
Example like putting a short cut link in a child folder that takes you back to the parent folder, all that kind of redundant styling inside an xml file making them clunky and bloated and very hard to work with. doing it to a small xml is one thing, trying to make a mega project there is no room for inefficiency.

XML is cross platform if it is kept simple like 1:1, and if there's a lot of data, break it up like nav tables. One template or one CSS does not run a whole website these days. Even game scripting does this in some fashion with mod scripting add ons. well from what I have seen the stuff i was involved in.

So far it looks like Java Applets written in net beans will do it, http://www.youtube.com/watch?v=rcdeoParscY looks like Codeblocks will be more robust (also like VB build) http://www.youtube.com/watch?v=yuCYk58zu5s LOL that is C++ not codeblocks :) also eclipse does advance xml http://www.youtube.com/watch?v=knJiGjO7QB8 oh well I'll still keep looking which is the best fit.....
Mangar

Re: what tools and language to start with

Post by Mangar »

DrHu wrote:http://design215.com/toolbox/translator/trans_login.php
--there's an ASP to PHP (online) converter

http://design215.com/toolbox/asp.php
--and that's a link to their cross-reference (coding style.)

http://www.perfectwebtutorials.com/2012 ... mparisons/
--I had a look at another few sites, one indicated that ASP gets you a business (enterprise) job, and PHP was for hobbyists
  • That might no longer be true, as LAMP and Open-source is popular for many web sites and systems..
And you can always look at enterprsing companies to see what they think to employ and the reasons they do so
http://venturebeat.com/2012/01/24/why-w ... g-node-js/

XML is something else, even though it is cross platform and there are some editors and such, most people, I suspect don't ever really touch that file type (as far as knowing much about it or what to do with it..)
Hello DrHu, I check out that converter but it is client side asp to php, not server side asp to php
Example:
<%@ Language=JScript%> <%Server.ScriptTimeout=21478836%> <%Response.Buffer=false%>
<%
var gotit = (Request.QueryString("q"));
var gotfid = (Request.QueryString("FID"));
var gotmid = (Request.QueryString("MID"));
%>
---sample---
<%

Dim objXMLDoc, xmlQuery, objNodes

set objXMLDoc = CreateObject("MICROSOFT.FreeThreadedXMLDOM")
objXMLDoc.async = false
objXMLDoc.load(Server.MapPath("/images.xml"))

//a) Build the XPath Query

xmlQuery = "//ITEM[ID = '"& gotit &"']"

//b) Create a nodeset for the selected XPath
set objNodes = objXMLDoc.selectNodes(xmlQuery)

//c) Create an instance of the xslt object
set xsl=Server.CreateObject("MICROSOFT.FreeThreadedXMLDOM")
xsl.async = false
xsl.load(Server.MapPath("/parent.xsl"))

//d) Create an instance of the template object to add the parameter
set xslt = Server.CreateObject("Msxml2.XSLTemplate")
xslt.stylesheet = xsl
set xslProc = xslt.createProcessor()
xslProc.input = objXMLDoc
xslProc.addParameter "sortBy", "BB"
//Passing in the Sort Criteria
xslProc.addParameter "strXPath", objNodes
//Passing in a Nodeset as a second parameter

//e) Apply the Transformation and write the results as output
xslProc.transform()
sortedData=xslProc.output
Response.Write(sortedData)
%>
---sample---
shown are just the public rendering view, the admin dash boards are more complex and to edit, delete, add, modify all the xml files.
I format the output with xslt style sheets as forms controlled by asp.

So I figured I will use the Apache server I configured on one PC, and will just have to take it one page at a time. I have tons of java and js codes mixed with asp. So if all goes well I will redo my site and slowly share what stuff is redone. this is just one xml being called out of many where the url passes variables to select the next sort filter into the next xml set of files.

This way DOM can select a keyID from one pass, then continue to narrow down the next xml files.

I know it is not typical but nuts, yet it works fast. I am looking to better its functionality if I am going to rebuild the code in php from the ground up. Plus all the banner exchange and clicks addons and other stuff all xml driven in those sites.

Well thank you everyone who put up with me the past 10-14 days. But I think I have enough loaded tools on Mint to get me started.
Thank everyone for links to tips sites also :)

so far looks like this is the closet code for me in php http://us2.php.net/manual/en/book.dom.php
Locked

Return to “Chat about Linux”