mercoledì 12 dicembre 2012

Multilingual Query language

Multilingual Query language


I developped (using in scala programming language) a query language engine that permits to use multilingual sintax. You can add a property file in which you can confugure the keyword sintax in many languages.




Licenza Creative Commons
Innovative concurrency model in a OS by Cristian Lorenzetto is licensed under a Creative Commons Attribuzione - Non commerciale - Non opere derivate 3.0 Unported License.

martedì 6 novembre 2012

Innovative concurrency concepts in a OS

Innovative concurrency model in a OS

A traditional operating system handles the concurrency problem using the thread model.  In the last years we need more and more to use many concorrent blocks in big software application, we need to handle simply the concurrency in the complex algoritms we developped and we have to maximize the CPU time. The presence of  multiple CPUs in a home PC shows to everyone that the speedup offered using traditional OS is quite low.  For this reasons the thread model begins to be insufficient for managing this needs.
I propose another concurrency  model.

Every program loaded in a OS has a additional memory area , handled just by the OS in which there essentially a map.
Every row of this map contains
1) concurrency id (optional) 
2) start of block address
3) end of block address
4) concurency start reference (relative pointer to other row)
5) concurrecy end reference (relative pointer to other row)

The concurency start reference tells what is the previous block triggering this parallel execution.
The concurency end reference tells what is the future block must wait the execution of that block.
When a compiler assembles a program , identifies the indipendent blocks in the code as possible concurrent blocks : every one  could be just fews of instructions or a huge block. Then the compiler  fullfils this map.
The compiler might identifies also the the concurrent memory access if it exist and in this case it might introduces a mutex automatically.
When the os loaded this program, it executes the program and launchs as many internal threads as many concurrent block set in the concurrency map.   
In this model a developer has not to write a thread explicitly, because all is managed by the compiler and the os. The developer can explicitly tells to the compiler if he want a specific block or function to be concurrent (and eventually the priority of the execution).



Licenza Creative Commons
Innovative concurrency model in a OS by Cristian Lorenzetto is licensed under a Creative Commons Attribuzione - Non commerciale - Non opere derivate 3.0 Unported License.









giovedì 25 ottobre 2012

Innovative MVC framework

I designed and implemented the prototype of a innovative pattern that separates the representation of information from the user's interaction with it. It changes deeply the classic MVC model for creating a new model that permitting to handles more complex view in simplier way.The focus of the new model is : reusability,modularity,indipendence of code, inter comunication and componibility among modules,seo request,automatic validation.  It is designed for mimimizing the time for developping a website.  In addition it is developped following the SaaSO model introduced in a previous article.It reduces the time to market and maximizes the reusability of the code. Anyway, the innovative ideas inside it remains secret. 
 

Simple Application Container in PHP

Simple Application Container using PHP


I developped a set of scripts for similating a behaviour of a simple application server in PHP. It permits to write software simplier to read : the architecture of the software is ordered and it handles logging facilities and modules loading .

mercoledì 3 ottobre 2012

Distributed Versioning

Algorithm  for distributed versioning 
based on graph

I conceived a algorithm for managing versioning for a general graph (also ciclic one) in distributed way. 

Definition of the problem: you have a network or a graph and you keep different information in every node of this graph. You wish to handle the historical changes for a specific node that can have got too  source or target associations to others(relationships). For integrity of the information inside the node you want to archive also the relationships with others nodes. Hence , if a subnode of the main one changes , also the parent node changes version for keeking trace on all the possible modifications. 

For solving this problem , i developed a new software. For having more details about it , you can contact me on googleplus.      

giovedì 27 settembre 2012


SaaSO


SaaSO (software as a  service object) is a model of software deployment where a software vendor develops, operates and manages a client-server application  that provides  to its customers that are not end-users but the final suppliers of services or applications exposed on the internet. This software acts as a middleware for complex functionalities, otherwise  difficult to manage by the customer, that is delivered by the provider using a client-server technology. 

SaaSO is a new business model of software conceived on May 2012 by Lorenzetto Cristian, software architect at a software company Italian. On September 2012 the first prototype has been developed that meets the requirements of SaaSO. This business model is different from SaaS for several reasons:

     is not direct to the end user but   the services or applications provider;
     does not provide business data but the procedures necessary to obtain or calculate business data.

From the commercial point of view it offers all the advantages offered by the SaaS model but it distinguishes itself by offering the possibility of providing a service that maintains the data of the purchaser of the service in a place belonging to the same purchaser . The SaaS model however suffers from the problem of having to manage all the data of the purchaser of the service in the place belonging to the distributor of the service.

venerdì 7 settembre 2012

Dynamic Parser

Dynamic Parser

Dynamic parser is a new software prototype of a kind of language parser.
In this parser you are able to model the regular grammar programatically on the fly. The grammar is splitted in different sections and for every one you can change the regular grammar dinamically , also when a specific stream is scanned. It permits to manage complex software context in which you have many languages to parse or the language changes structure or the language is context sensitive. In general it permits to parse languages that change structure depending on the content of the specific instance to scan. 
It is easy to use  and very powerful.  
Licenza Creative Commons
DynamicParser by Cristian Lorenzetto is licensed under a Creative Commons Attribuzione - Non commerciale - Non opere derivate 3.0 Unported License.

 

If you are interested in this prototype you can contact me for having more details or for commercial use. 


Scriptor



Scriptor
   
Scriptor is a software prototype that permits to execute  files that contain particular XML structure and java-like language scripts . It is platform independent and permits to import  modules . Anyway  it is used also to recognize specific platform and to esecute specific script depending on a command line OS for retrieving general  abstract system information. Scriptor contains also new programming language concepts such as  dynamic data type. Dynamic data type are a kind of data type associated to a variable that permits to specify the type of a variable: the difference with the classic data type is to permit to that type to define a subset of a specific domain. It accept a parameter that defines the subset when you declare the variable.
This kind of data type is very useful for customizing the specific domain of a data and for automatically validating the data. 
For example in scriptor you can use type like :
DObject : it permits to assign to a variable a object belonging to a set of possible object types;
DDate: it permits to assign date in specific local format ;
DEnum: it permits to assign a enumeration of objects having types belonging a set of possible object types;
DFormattedString: it accepts a string  that corresponds a specific regular pattern; DDataObject : it defines a object with a specific set of properties and for every one defines a specific type.
Also dynamic data type are DKeyValue,DList,DMap,DTree,….
In general this software introduces the concept of domain type: a particolar and complex type that keeps informations about the structure of the same domain. 

Licenza Creative Commons
Scriptor by Cristian Lorenzetto is licensed under a Creative Commons Attribuzione - Non commerciale - Non opere derivate 3.0 Unported License.


If you are interested to buy this prototype , you can contact me using  Google Plus