1. El contexto
App Clipper - pequeña empresas y medianas orientadas
a usar datos en forma compartido y con
responsabilidad de control y administración.
App SQL - grandes empresas y medianas, orientadas
a usar grandes base de datos pero como
un servicio y sin responsabilidad del
control o administración
2. App Harbour - Extensión de Clipper que te da la
posibilidad de usar los datos tanto
en forma compartida, tradicional o como
un servicio de base de datos.
3. Una aplicación clipper de los 90 tal como está, fácilmente
puedes migrarlo a usar Base de datos en una empresa grande
que use por ejemplo DB2.
4. La clave es realizar unas pequeñas envoltura a la sentencia
USE tabla y adicionar funciones para la actualización
de los datos, no es tanto modificar tu código sino adicionar
código, gracias a las extensiones que tiene Harbour
5. La ventaja de usar Base de Datos depende más del contexto
entre el desarrollador y la empresa.
Ejemplo, eres un desarrollador FreeLancer y deseas vender tú
sistema de contabilidad que tiene una característica especial
a una gran empresa con varios servidores con base de datos,
además tienes un contacto que te puede ayudarte para venderlo pero
si tu sistema maneja DBF no ingresas ni a la puerta.
El valor agregado que le das a tu sistema cuando usas una base de
datos comercial como DB2 u Oracle es diferencial. Y si la empresa
ya lo tiene es mas fácil todavía. Tanto DB2 como Oracle tienen
versiones Express gratis que son suficientes para una pequeña y
mediana empresa.
Yo tengo cariño a Clipper por que hace muchos años me saco de un
apuro por lo que llegue a conocer a Harbour que es otro nivel.
Mi campo de acción es con Powerbuilder es una maquina diferente.
...
- record and file locksit all depends on programming style but since my program has been in use in a small firm with no more than 20 users, when someone enters the "modify item" the record is flock().. Others may browse it, retrieve it, but can't enter the "modify item" form since they will fail the flock()..
...
--
In general, you want to store fields to memory variables, edit the memory variables, use rlock to lock record, replace fields with mem variables. then unlock. The lock is only applied for in instant.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/687985734.1484210.1692395163705%40mail.yahoo.com.
Hi Matt
One way to minimise the use of flock() when there is a need to add new records to a dbase type database is to create a cache of unused records which can be made invisible to users with special key field values. When a new record is required a request is made to the cache using rlock() and a deleted record is added to the cache. When the cache gets low then it must be expanded using flock() but this process can be run overnight or during times of very low use.
I used this technique in a car fleet management system that ran
for over ten years. In this case the cache was defined as a
percentage of the number of active records and this percentage
number was held in a a configuration table so that it could be
changed if required - the value was typically 10%.
Regards Bob Bob F Burns G3OOU, G-QRP 6907, @BobFBurns Retired Software and RF Communications Engineer Admin/sales site: http://www.g3oou.co.uk/ Technical site: www.qsl.net/g3oou
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/687985734.1484210.1692395163705%40mail.yahoo.com.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/b02e0f85-aaa9-54c5-57d1-78881f8d9bd2%40engwall.com.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/d1335bc9-df0e-434b-86ef-99765b26585dn%40googlegroups.com.