Invenzzia »

Invenzzia... in English

Zyx

Entries feed - Comments feed

Wednesday, 23 July 2008

TypeFriendly 0.1.0 released

TypeFriendly Tagged under: development releases typefriendly

At last, the translation of the manual into English is complete and the source code has been already released as the first version of TypeFriendly, the documentation generator. In is available in Files on the main site. The user manual is provided in the source form and it works also as an example, so please do not worry that something is missing. All the necessary information to build the HTML version can be found in /info/README.txt file. All you need is to type one command in the system console. The on-line documentation will be available soon, as we are preparing new website. To get more information about TypeFriendly, take a look at the previous note.

Zyx 2008-07-23, 10:34

no comment

Wednesday, 02 July 2008

TypeFriendly

TypeFriendly Tagged under: development documentation typefriendly

Together with eXtreme, we work hard to make the first release available as soon as possible and we are quite close now. This is a perfect opportunity to tell something more about this project, which should be appreciated by those programmers who write their own scripts and libraries and look for a smart tool to make a documentation. The idea to write TypeFriendly was born in my head after I failed to add some necessary things to the XSLT sheets for DocBook. The PHP manual shows, what could be done with it (syntax coloring, lots of different formats, enormous amount of tags), but don't become too happy too fast. To achieve similar effects, we need weeks of coding and we must also fight against the portability. In fact, I'd rather use those weeks to write something more useful and friendly.

Continue reading »

Zyx 2008-07-02, 21:38

no comment

Monday, 30 June 2008

SVN is active!

Invenzzia Tagged under: development svn

Unfortunately, the configuration of a version control system on our current server is not as simple as on Sourceforge.net. But now I found some time and ideas, how to make it work and finally... there it is, we have an SVN repository. It's available under the address http://svn.invenzzia.org/ - we still have to install a good browser. Today I'm going to upload the source code of the new OPL and TypeFriendly, a documentation generator almost ready to its first release. All the instructions, how to connect, will be published on the main site.

Zyx 2008-06-30, 08:10

no comment

Sunday, 06 April 2008

OPT requirements

Open Power Template Tagged under: development opt2 optimization

I've found a new entry on the bugtracker recently. The author informed that he gets "Nesting level too deep - recursive dependency" error while running the development examples provided by the newest OPTv2 dev version. I looked at it deeper and found out that he lowered the default nesting level limit 4 times from 64 to just 16. Obviously, this is a quite drastic change and would affect not only OPT, but many other scripts as well. However, I think it is time to take a look at the OPT issues concerning the requirements, because several of them needs a deeper explaination.

Continue reading »

Zyx 2008-04-06, 10:28

no comment

Friday, 21 March 2008

OPT 2.0.0-dev5

Open Power Template Tagged under: components development opt2

The new development version became available a bit later that I planned, but on the other hand, I managed to add much more new things. The DTD issue is solved, as well as XML prologs, CDATA support and code escaping. The expression compiler is done and the programmers may use now brand new component implementation. This is a significant step towards the first beta release and the end is closer than further. There are only a few instructions to code, the rest is almost completed and works. The compiler, programmers' API and most of the stuff also works. I think of making the first real tests on my home website and creating the Open Power Forms library compatible with the new OPT.

Continue reading »

Zyx 2008-03-21, 14:38

no comment

Sunday, 02 March 2008

OPT 2.0.0-dev4

Open Power Template Tagged under: OPT2

There is a new Open Power Template development version available to download. The project begins to gel, as the main parser class is almost completed. Inspite of the output cache system mentioned earlier, I've implemented new instructions and completed the snippets. It means that all the template inheritance should work now. I hope the library will be usable by the end of this month. The real projects are really necessary to detect possible bugs and various shortcomings.

Continue reading »

Zyx 2008-03-02, 11:28

no comment

Friday, 22 February 2008

The main class almost finished

Open Power Template Tagged under: OPT2

The result of the latest works on the OPT source code is complete opt.class.php file which contains (as some of the readers may know) the main parser class. I must admit that this file was more demanding that the compiler. In the second case we can afford with quite a lot. Just an idea for the algorithm and prediction if and how it will influence the rest of the code. In the case of the main class, we must pay attention to the performance. It must contain everything that is run permanently and it must be fast and small. But the number of features is getting bigger and bigger.

Continue reading »

Zyx 2008-02-22, 08:59

no comment

Friday, 15 February 2008

OPT 2.0.0-dev3

Open Power Template Tagged under: OPT2

According to the my announcement from the last week, the development versions are going to appear much faster than before. This is the first of such events. The third dev of OPT 2.0.0 is ready to download. This time, I've paid much attention to the attribute processing. They can do a lot of interesting things with the tags they've been added to. The earl implementation has been ready so far - there were even examples showing the "opt:section" working. But to satisfy both me and probably other programmers, I had to extend it.

Continue reading »

Zyx 2008-02-15, 13:26

no comment

Saturday, 09 February 2008

New dev

Open Power Template Tagged under: OPT2

The website now has the "Download" page. In it, you can find a new development version of Open Power Template. It also contains a simple script "docgen" which we use for automated generation of the DocBook manuals. The new development versions should appear now much more often than before. In case of many new features, they might appear even every 2-3 days. The reason why this was impossible in the past was the time. The process was not automated and it takes a while to prepare such archive (for example - it takes a couple of hours to publish new OPT 1.x version on the Internet).

Continue reading »

Zyx 2008-02-09, 11:02

no comment

Thursday, 07 February 2008

Licensing

Invenzzia Tagged under: licensing

From time to time, I return to the library licensing issue. Undoubtedly, the right choice of a license is quite significant for the project success or failure. Simple, permissive licenses are very easy to follow and use, but in my opinion, they are quite dangerous for the project itself and can lead to some abuses. On the other hand, we have a GNU LGPL license, which has been used by Open Power Template so far. It provides the correct protection of the code, however the linking with non-GPL software is quite complex and produces many questions. Let's take a look: we write the libraries for all the website programmers and authors of complete scripts, whether they are open-source or not.

Continue reading »

Zyx 2008-02-07, 10:19

no comment

Saturday, 02 February 2008

Template inheritance

Open Power Template Tagged under: OPT2

Unsually, the final HTML code of the website is composed of several smaller templates containing smaller pieces of it. There are many techniques of combining them. In PHP template engines, the most popular are two forms: manual execution of the templates from the script side and the include directive. Similar solution can be found in OPT 1.x, however in the new version, it should be forgotten - unless we use the quirks mode, the parser does not let us to call the parse() method more than once. In the beginning, I planned to replace it by extending inclusion with "sequences" - a groups of templates to include with their own variables and cache settings. However, one day I was asked on my blog by Coldpeer, whether OPT will support template inheritance. I googled for a while, I looked at it and thought it might be cool. That's how the implementation began.

Continue reading »

Zyx 2008-02-02, 17:03

no comment

Thursday, 31 January 2008

Deeper processing

Open Power Template Tagged under: Open Power Forms

The last project I've created using Open Power Forms, shown some weaknesses of the current form implementation. There were some forms allowing a mass addition of many records in the following way: a table, in the columns the following fields: Name, Surname, PESEL number, etc. The numer of rows was 30, so the user is able to add 30 people to the database with one form. The adaptation of the map() method to my problem was not too hard; in fact it seemed that opfArrayContainer solved everything. But then the form renderer connected with Open Power Template went off.

Continue reading »

Zyx 2008-01-31, 13:42

one comment

Wednesday, 30 January 2008

Let's go!

Invenzzia Tagged under: invenzzia website

Welcome to the devblog of the new programming group Invenzzia. The reason that I formed them are my open-source projects which need a good organization and infrastructure. To begin with, the group will take care of my advanced template engine that exists for over three years so far - Open Power Template. It will become the first part of a bigger series "Open Power Libraries". Currently, we have already begun setting up everything and our website is run part by part. I'll do everything to make sure it won't last too long.

Continue reading »

Zyx 2008-01-30, 12:29

no comment