Waarom geen automatisering

Overzicht

Er zijn verschillende redenen waarom Aspose‑componenten een beter alternatief zijn voor automatisering. Enkele van de belangrijkste redenen zijn:

  • Beveiliging
  • Stabiliteit
  • Schaalbaarheid/Snelheid
  • Prijs
  • Functies

Hieronder volgt een meer gedetailleerde uitleg van elk belangrijk punt.

Belangrijke vragen

Er zijn twee vragen die we vaak horen bij Aspose:

  • Moeten uw producten Microsoft Office geïnstalleerd hebben om te kunnen draaien?

Het korte, eenvoudige antwoord is NEE.

Aspose‑componenten zijn volledig onafhankelijk en staan niet onder affiliatie, autorisatie, sponsoring of enige andere goedkeuring van Microsoft Corporation.

  • Waarom zouden we Aspose‑producten gebruiken in plaats van Microsoft Office‑automatisering?

  • Eerst zijn er veel voordelen die u geniet wanneer u Aspose.Slides gebruikt.

  • Ten tweede raadt Microsoft zelf sterk af om Office‑automatisering te gebruiken vanuit software‑oplossingen.

Beveiliging

Het volgende is een directe quote uit een Microsoft‑artikel:

“Office Applications were never intended for use server-side, and therefore do not take into consideration the security problems that are faced by distributed components. Office does not authenticate incoming requests, and does not protect you from unintentionally running macros, or starting another server that might run macros, from your server-side code. Do not open files that are uploaded to the server from an anonymous Web! Based on the security settings that were last set, the server can run macros under an Administrator or System context with full privileges and compromise your network! In addition, Office uses many client-side components (such as Simple MAPI, WinInet, MSDAIPP) that can cache client authentication information in order to speed up processing. If Office is being automated server-side, one instance may service more than one client, and because authentication information has been cached for that session, it is possible that one client can use the cached credentials of another client, and thereby gain non-granted access permissions by impersonating other users."

Aspose‑producten zijn zeer veilig. Aspose‑componenten vormen geen potentieel risico voor vitale systeembronnen. Bovendien worden macro’s niet automatisch uitgevoerd wanneer een document wordt geopend door een Aspose‑component. Aspose‑componenten zijn gebouwd met als doel ontwikkelaars in staat te stellen Office‑bestanden te maken, te manipuleren en op te slaan. Geen van de risico’s die verbonden zijn aan het Microsoft‑Office‑pakket zijn inherent aan Aspose‑componenten.

Stabiliteit

Het volgende is een directe quote uit een Microsoft‑artikel:

“Office 2000, Office XP and Office 2003 use Microsoft Windows Installer (MSI) technology to make installation and self-repair easier for an end user. MSI introduces the concept of “install on first use”, which allows features to be dynamically installed or configured at runtime (for the system, or more often for a particular user). In a server-side environment this both slows down performance and increases the likelihood that a dialog box may appear that asks for the user to approve the install or provide an appropriate install disk. Although it is designed to increase the resiliency of Office as an end-user product, Office’s implementation of MSI capabilities is counterproductive in a server-side environment. Furthermore, the stability of Office in general cannot be assured when run server-side because it has not been designed or tested for this type of use. Using Office as a service component on a network server may reduce the stability of that machine and as a consequence your network as a whole. If you plan to automate Office server-side, attempt to isolate the program to a dedicated computer that cannot affect critical functions, and that can be restarted as needed."

Aspose‑componenten zijn grondig getest en buitengewoon stabiel. Aspose‑componenten worden gebruikt door Bedrijven zoals: IBM, Hilton, Reader’s Digest, Bank of America en vele, vele anderen.

Schaalbaarheid/Snelheid

Het volgende is een directe quote uit een Microsoft‑artikel:

“Server-side components need to be highly reentrant, multi-threaded COM components with minimum overhead and high throughput for multiple clients. Office Applications are in almost all respects the exact opposite. They are non-reentrant, STA-based Automation servers that are designed to provide diverse but resource-intensive functionality for a single client. They offer little scalability as a server-side solution, and have fixed limits to important elements, such as memory, which cannot be changed through configuration. More importantly, they use global resources (such as memory mapped files, global add-ins or templates, and shared Automation servers), which can limit the number of instances that can run concurrently and lead to race conditions if they are configured in a multi-client environment. Developers who plan to run more than one instance of any Office Application at the same time need to consider Pooling or Serializing Access to the Office Application for avoiding potential Deadlocks or Data Corruption .

Aspose‑componenten zijn zeer schaalbaar en bliksemsnel. Office‑applicaties waren niet ontworpen om gelijktijdig door honderden of duizenden gebruikers te worden gebruikt. Aspose‑componenten zijn echter precies daarvoor ontworpen. Onze componenten presteren foutloos, zowel op een enkele server die één applicatie aandrijft, als op een load‑balanced web‑formulier dat een enterprise‑brede applicatie ondersteunt.

Prijs

Wanneer een applicatie Microsoft Office‑automatisering gebruikt, moet er voor elke machine die de applicatie draait een kopie van Microsoft Office worden aangeschaft. Vaak heeft een applicatie een Office‑bestand nodig om te maken of te manipuleren, maar vereist het niet dat de gebruiker Microsoft Office heeft. Aspose biedt een zeer Kosteneffectief en royalty‑vrije herdistributielicentie die implementatie op een onbeperkt aantal gebruikers toestaat zonder licentiezorgen.

Bij het ontwikkelen van webgebaseerde applicaties is het belangrijk te weten dat Microsoft Office‑automatiseringscomponenten niet geprijsd of gelicentieerd zijn voor server‑side oplossingen; er bestaat dus geen goede licentieoplossing voor het inzetten van webapplicaties die de Microsoft Office‑componenten gebruiken. Aspose biedt eveneens een zeer kosteneffectieve oplossing voor server‑gebaseerde applicaties.

Functies

Aspose‑componenten bieden alles wat nodig is voor het beheren van Office‑bestanden en nog veel meer. Ze zijn ontworpen met de filosofie ontwikkelaars in staat te stellen de beste resultaten te behalen met de minste inspanning. In tegenstelling tot Office‑automatisering bieden Aspose‑componenten vele krachtige en tijdbesparende functies. Bijvoorbeeld, Aspose.Cells geeft ontwikkelaars de mogelijkheid om gegevens uit een DataTable of DataView rechtstreeks in een Excel‑bestand te importeren. Elke component in de Aspose‑familie biedt zijn eigen unieke en krachtige mogelijkheden.

Het beste van het aanschaffen van een Aspose‑component (of component suites zoals Aspose.Total) is de toegang tot onze ontwikkelingsteams. Onze teams realiseren zich dat als uw bedrijf een bepaalde functie nodig heeft, andere bedrijven die waarschijnlijk ook nodig hebben. Hoewel niet elke feature‑verzoek kan worden toegevoegd, proberen onze teams zeer open‑geest en flexibel te zijn bij het bieden van ondersteuning. Deze mentaliteit heeft ervoor gezorgd dat Aspose‑componenten zo krachtig zijn geworden. Als er extra functies nodig zijn vanuit Office‑automatiseringsobjecten, is de kans dat ze worden toegevoegd zeer, zeer klein.

Conclusie