Answer the question
In order to leave comments, you need to log in
What language\framework to choose for application development?
Hello!
Recently, there has been interest in developing an application to solve some work tasks.
It is necessary that the program, roughly speaking, replace the labels in the template .doc \ .docx documents with what the user enters in advance, filling out forms, choosing options, styles, etc. I want the user to work in the web interface and have authorization , differentiation of rights.
Please recommend a language\framework for developing such an application.
I have little programming experience, I plan to develop not only for work purposes, but also “for the soul” :)
Answer the question
In order to leave comments, you need to log in
Under Windows, in most cases, C# is best.
I speak as a person who has gone deep right down to machine code (and reverse engineering of other binary formats), to disassembling with OllyDbg and writing NT drivers, and I have seen a lot of different frameworks / languages, respectively.
> replaced labels in template .doc\.docx documents
For .docx under .NET, there are already 3 ways, the first is the docx.codeplex.com library (by the way, there is a similar library for Excel - npoi.codeplex.com/) the second - this is interaction with Office via COM (also supports .doc), the third one is Open Office SDK (did not try; it should support both doc, docx, and xls / xlsx with Open Office installed, or maybe without it).
The most convenient, portable and fast solution is exactly the NPOI type libraries that work directly with the document without intermediaries. They do not require any office suites.
For example, for Delphi I did not find such libraries in due time, only paid ones, and for free - only COM (standard in VCL).
> for the user to work in the web interface
That is, this site will be?
Honestly, I don't know much about the web.
Nevertheless, a bunch of C # + ASP.NET + DOCX / OpenOffice / COM should suit you. You need a server with Windows.
But you can also try Java (there is a POI library for it that supports both doc and docx, but keep in mind that Java is very demanding on server hardware), and for PHP it would be worth digging if there are libraries for doc and docx. In general, 3 main options, choose to taste))
Of course, they will throw stones at me ... I do this in 1C. I understand not only Word documents, but also Excel. As it turned out, such applications are in demand)
This is now not fashionable and not open source, but the easiest way to do anything with any Microsoft Office files is in libraries from the .NET Framework. You don't even have to set anything, just cut a couple of standard namespaces. Well, then the application is on ASP.NET MVC. You will receive the simplest authorization, forms and a server with files out of the box.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question