Integrating with Sage Financial Software [closed] - financial

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have recently been asked to develop an application that will have to integrate with Sage Line 50 financial software.
I've done some googling and I am surprised at the lack of info on interfacing with Sage from Java or .Net.
Is Sage such a black box that you need to sign up to a Sage Developer program before you get any info?
Are there any open source options to allow apps to talk to Sage?
Any info appreciated.
Cheers
Paul

Theres a new methodology Sage are moving to called SData. I think you can read about this at http://sdata.sage.com/
The long term aspiration is that SData will provide full CRUD facilities and simplify integration between different Sage programs (of which there are many!) and therefore provide a consistent web service that 3rd party applications can be integrated with too.

Looking on the Sage UK site I found the following Developer SDK.
Upshot is that you need to use .Net if you want to use the SDK.
Problem is that the SDK is only available under the Developer programme which starts at £1500: Here's the brochure.
However the developer programme does give you free copies of the Sage software for development purposes, so I can see the benefits if your business is Sage integration.
Another option is an addon for Sage which is sold by Sage for £299
http://shop.sage.co.uk/pdf/connect_for_Sage_50.pdf
This gives an XML import/export facility, this may be enough for my purposes.

I've done quite a bit with Sage Line 50 V9 (a couple of versions old, I know). Sage provide an ODBC driver which you can happily talk to with ADO & ADO.NET. The driver is however read-only which may or may not be an issue to you. There do seem to be some limitations with SQL queries though - in particular, double joins don't work (a JOIN b JOIN c) & need to be flattened-out. Also, the DISTINCT keyword doesn't seem to be recognised. Hope this of some use.

Going back a few years, but Sage also used to provide a read-write API (not ODBC based) for accessing the data in their products.
I'm not surprised that you need to join the developer program - Sage is a traditional closed source commercial application - it's unlikly to have open source options available for it.
Joining the dev program used to be free for Sage customers, which the people you are working for should be, surely...?
EDIT - yikes, not free any more

Related

Solidedge remote access for only one user: best way? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
We plan to give access remotely for one of our users to Solidedge as he is working from home and other users into our offices. Currently, he has is own PC at home and has to come regulary here.
I already tried XenDesktop, XenApp (but not the lastest release at it is not available for demo purposes, only the 6.0 release that I will try today).
Also, regarding XenApp coupled with OpenGL, because of Solidedge, is the setup process 'complex' because I could not find any specific documentation regarding that usage.
The main factor is the bandwidth: XenApp doesn't seems to provide bandwitth compression features like XenDesktop do, that can dicrease the bandwith usage to 2M/Bits: from our LAN, I have doubts it will be usable.
Well, do you see an other easier way to do what I would like to set up?
Could you provide me we some details that could help me?
If on Windows I'd suggest simple plain VNC on desktop machine. Yes I know it sounds stupid. For a terminal server kind of access NVidia provides apropriate combinations of hard and software.
On Linux there's another possibility: Xpra. Simply spoken Xpra is a special kind of compositing manager, that uses a different display as the composition surface. It can operate over low bandwidth links by using efficient video codecs for compression. Usually Xpra uses a virtual framebuffer X server to run the clients on. But is can also be used in combination with a X server using a GPU.
However each user uses it's own X server for this. So if the system's GPU is used only one user can use Xpra at a time (actually since the NVidia drivers claim supporting hybrid graphics now, it may be possible to exploit that somehow – I haven't researched into that yet, though).
So the user starts Xpra using
xpra --start-child=xterm --vfb=/usr/bin/X start :100
And can then connect to the remote machine
xpra attach ssh:remote-host:100

Writing database software in C/C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have been a self taught web developer for a few years now, and usually use C#/ASP.NET, Python, and PHP. But I want to try to advance my skills by doing something more advanced. I am looking to try to build a database program like SQLite, or a mini MySQL sort of thing in C/C++ just to practice and learn new things.
EDIT:
My project doesn't have to be a RDBMS. It can be something like a simple web server or something. Just something to see if I like doing that kind of thing more than web development.
However, I can't seem to find any kind of book or tutorials online that teaches this sort of thing. Does anyone know where I can find resources regarding this? I have a C book that teaches the language itself, but I learn how to think through things a lot better when I try to build something specific like a database engine etc. Thanks for any input.
For literature I could recommend something like Accelerated C++ or Thinking in C++. I also recently got my hands on Code Complete, found it in a shelf at work, and it is as good as people say. Solid language agnostic advice.
Also you should separate C and C++, they may seem similar and people clump them together but it's really two different ways of thinking. Now the new C++11 makes the differences even more important to understand, C++ is just not C with classes.
Why don't you try something a bit smaller like a ray tracer? Its very attainable to write a simple one that can produce some nice images, and its something you can come back to again and again to add features.
You can read the book Learn C the Hard Way by Zed Shaw. He teaches you how to write C using Make and Valgrind. Later exercises have you write your own software package installer and a tiny web server. Best of all, it's free.
Updated broke link
Bookmark this resource, http://nptel.iitm.ac.in/courses.php?disciplineId=106
This is often a great/massive start point for in depth knowledge about everything from algorithms, dbms, graphics to real time systems. Complete video courses/lectures or written course materials. A place to expand knowledge or get ideas.
For example you could check the video lectures about dbms development
-> http://nptel.iitm.ac.in/video.php?subjectId=106106093
...Or why not this one about artificial intelligence -> http://nptel.iitm.ac.in/video.php?subjectId=106105077
No c/c++ examples but they drill down each part, patterns, strategy and algorithms.
...The only sad thing is that most professors speak in really bad English.
Well after #MitchWheat said that even writing something like SQLite was pretty ambitious, I chose to try an do a little web server instead and found this post which included a few links for doing that. Thanks for the input.

Usage-based Licensing framework [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am just trying to look at different licensing models and potential technical C++ implementations.
Suppose you have a desktop application including several algorithms (A1, A2, A3). This application is communicating with some server (potentially in the cloud). These "local" algos may be used independently. Is there any solution/framework out there which could allow us to bill their usage independtly?
For example, , one user uses algo A2 and A3. Before saving files, the software computes the final bill, sends it to some server, asks the user to pay it and generate the results file.
This would allow to ship a potentially expensive software "for free" to the users and without the risk for them to spend an enourmous amount of money upfront without being sure this software will actually be heavily used.
Related question: what are the risks?
Though your Pricing model is feasible for large scale and probably same as what cloud offers.
I don't think any native application would be scalable/feasible with this model.
Most of the License of software's that are too costly to buy for each user, they give a floater license and a cap limit of number of simultaneous users.
Pay as you use is great but it is same as cloud computing but then question is simple.
Do you want to reinvent the wheel?
Unless you don't want to invest in your own cloud server, you can easily put your application on other cloud.
If you are ready for investment into build and maintain your own cloud then you should go ahead.
Edit:
You can use web service or the payment method. Expose the web service for calculating the price to be incurred. I would personally use Java or C# for this purpose.
as java and C# have enough support for it, for the wrapper around the C++ code i would use any of the jni or C++/cli language support.
Another thing is, I have not come accross any open source tool for it, each web service has it's own requirements. You can get the architecture but no ready made work.
C++ code->webservice->price billing->result returned to caller.
Regarding Technical Difficulties.
It would not be possible to do things completely in C++, You may require many other tools with C++.
Consider such a scenario:
The program processes the data on the customer's computer, produces some cryptic data at this stage and calls home (your server).
The server there decodes the data, makes the final analysis and sends info to the client "It will costs you X dollars to see the result. Do you want to proceed?"
If yes, the client makes the payment and gets the result.

Very Simple C++ TCP Echo Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am new to C++ network programming but have experience with Java sockets etc.
I have been trying to write a simple TCP echo server in C++ but cannot really make any progress. I've tried looking at some code like at http://cs.baylor.edu/~donahoo/practical/CSockets/practical/ but cannot get anything to work.
Can anyone give me some simple C++ code to get started with for something like a TCP echo server? I do not really understand how to even get started.
Thanks in advance.
The terms "simple" and "C++ TCP Echo Server" don't belong together in the same sentence. There is no such thing.
The sample that you are looking at is probably as close to "simple" as you're going to get (if you want to get into the nitty-gritty). Using a library that handles all the heavy lifting for you would make things easier (but far less educational). I would probably check out Boost.Asio (and the example Blocking TCP Echo Server example).
If things aren't making sense, you should probably go back and brush up on your C++ network programming until you get to the point that things start clicking.
To learn network programming, I highly recommend you see if you can buy, beg, borrow, or steal (stay away from my copy) a copy of Richard W Stevens book Unix Network Programming (note that after the first edition, the subsequent editions are split into volumes, so make sure you get the right volume for TCP/IP).
I found it to be a detailed resource for learning TCP programming, primarily on Unix/POSIX systems. If memory servers, it has some code for a TCP echo client and server written in C that it uses for some of its examples. You can find the source code for the book here - dig around the Makefile and source code in the tcpcliserv dir:
http://www.kohala.com/start/unpv12e.html
Edit: I realize its not a C++ version you asked for, but if I'm right that your end goal is learning network programming, learning it in C should be a fine stepping stone to C++ ....
B
I would recommend that you look into the boost framework -- it provides the same kind of "indispensable utility classes" that the JDK provides to Java programmers.
There are many tutorials available for various aspects of boost. Here's one on getting started with the asynchronous i/o components.
If you want to jump straight into the (very simple) server socket example, here it is.

Virtual machine monitoring/optimization - what tools? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
What are the tools available to place on the level on top of VMWare or Xen (or other VM managers) that would monitor the VMs?
I know there are a few solutions like Netuitive, CA Infrastructure Manager / eHealth, Nimsoft - what are the areas of application and how popular are they?
CA has root-cause analysis of potential problems with the host. Is there something that performs other types of analysis or even attempts to fix the problems?
Alex, which VM's are you talking about in particular ? Xen, vmware, VirtualPC, etc? If you just want to monitor performance & status - you can treat them like regular servers - nagios or something. But I haven't heard of a tool that would monitor their "performance as VM's" for various architectures.
You can also setup nagios or groundwork or spunk or something to monitor your hosts if you have heterogeneous environment with both vmware and xen.
Could you clarify or expand a little bit?
Based on your comment below:
Ok I see, then the tools I mentioned may work for you. I use GroundWork - it's based on nagios - but in addition has some nicer and more developed graphs and history analysis, than nagios and works with ldap :-) (see monitoringforge.org - both commercial and free - for over 2000 extensions, including some support for xen and vmware).
Also check out splunk ( they have a commmunity version) and there is another interesting tool called Spiceworks. I tried both, but like groundwork more for my needs.
To be honest I think splunk is more of what you are looking for since it's more of a data collector and then you can do what you want with that data - like run reports in mysql or write some nifty web app that draws graphs and such.
P.S.:
A word of warning - I run groundwork community version on Debian and still it required a 2.8 ghz dual-core cpu and 4 gigs of ram to run properly, it's kind of a memory hog, but other than that it's been running without a hitch for a year.
You might want to look at "BMC ProactiveNet".
Pretty expensive but they have some stuff that monitors the VMWare VMs (not sure if you can get a trial or something)
(http://www.bmc.com/products/product-listing/ProactiveNet-Performance-Management.html)
VMware monitoring can mean different things. If you are looking to monitor the hypervisor, the built in tools from VMware (vCenter for example) is pretty good. If you want to look into the VMs in-depth or you want to monitor other elements of the infrastructure (e.g., applications), you should consider a third party tool. For instance, we use the eG VMware Monitoring tool - http://www.eginnovations.com/web/vmware.htm