Development, Analysis And Research


Zend Platform (Buran Beta)

Posted in PHP by Andrew Johnstone on the June 30th, 2005
, ,

Quick note, Zend Platform hijacks MySQL config file.

Hello Andrew,

The problem’s source was a bug in Buran Beta’s installation script. The script, mistakenly, used your MySQL configuration file (/etc/my.cnf) instead of the one that he was suppose to. Therefore the creation of the needed DB has failed.

Thank you for your report. You have helped us to kill a bug.

Happy php’ing!

Technorati , ,

Popularity: 2% [?]

Off The Shelf CMS

Posted in General by Andrew Johnstone on the June 29th, 2005
No Tags

Whilst writing custom Content Management Systems, its quite surprising, how the various rules that I implement from WorkFlow to Logic, actually make many Content Management Systems available Off The Shelf useless. Most predominantly Presentation Logic is a critical factor in most if not all open source CMS’s making them unviable solutions.

A very simple example.

  • If user input contains HTML elements and attributes except ‘p, b, br, i, u, a’.
  • Strip repeated HTML elements.
  • If word length is greater than a specified amount break apart, if not HTML element or last element closed.
    • If contains non-breakable term such as a brand precede to break apart before term
    • If contains punctuation such as ‘-’ or ‘\’ or ‘/’ break terms apart, if slash add white space padding…
    • If non breakable highlight before publishing

Displaying peoples names for example in a very limited space, is a difficult task when you have to comply with consistency and keep them on one line. E.g. (Removed real names for privacy)

12345678 123456789012345
12345 12345 1234567890123

When you look at some simple rules like this and have strict designs, this is where most Off The Shelf CMS’s fall short. Control and flexibility is an awkward combination, as the more control you encompass the more complex it becomes to maintain.

No Tags

Popularity: 2% [?]

WTVML

Posted in XML by Andrew Johnstone on the June 29th, 2005
,

Lately I’ve been looking into a new topic.

There are a couple of different services of which can get quite easily mixed up. Firstly “WTVML is a markup language that provides a content authoring format for interactive television service applications based on Internet standards.” and also “Sky Active, which is an interactive entertainment channel that is a cross between a television channel and a magazine”.

The possiblities of SkyActive & SkyInteractive are not quite clear as yet, however finding the time todo further research & development into the above is holding me back at present. However it would be nice to hear back from others who have had the time to look into or are currently developing for either of the above.

For more information take a look at (skyinteractive.com / skyactive.tv)

Schemas:
http://waptv.com/xsd/v6/wtvml_6.0.xsd
DTD:
http://waptv.com/DTD/wtvml_1.0.dtd

More References

Technorati ,

Popularity: 3% [?]

Zend Platform (Buran Beta)

Posted in PHP, XML by Andrew Johnstone on the June 27th, 2005
, , ,

Whilst using the Zend Platform on a clustered server enviroment, I came across a number of limitations, however many of these have now been resolved with the beta release of the Zend Platform named Buran.

I am excited to hear that the following features are/have been implemented in the Zend Platform.

  • PHP level session clustering (beta starting next week) - better performance than database or NFS solutions
  • User defined alert triggers and alert hints to allow better drill-down into scripts with many includes.
  • Reporting and graphs
  • event aggregation by server groups - to prevent alert storms in large clusters
  • PHP CLI/CGI mode monitoring

“Just to give you some history - as we were the first to bring out profiling for PHP (which doesn’t require any setting of flags in code) we have been working on other features until people started using it more. You’ll probably be astounded to know that many people don’t use profiling and don’t even know what it is….

Anyway, this is this second such request we’ve had in a week for improvements to the profiler so it’s now been moved up the priority list, I’m not sure whether it will be part of Zend Platform or part of Zend Studio, but I’ll collect some more details from you on Monday and we’ll take it from there.”

Please shout and scream to make this a priority!

  • Zend Studio Server Error (eventest.php?action=test&event_id=993)
    In order to connect to HTTPS addresses, you must use PHP higher than 4.3.0

    The current version of PHP on the production servers is PHP5.0.4
  • Server & Vhost
    Server: mtvi-ws2.hos.ws.com
    VHost: lamp.ws.com

    Desired VHost: lamp.ws.com/~user
    You don’t know which UserDir it is…
    Vhost is empty in some circumstances.
    (Apparently resolved in the beta)
  • Performance | Studio Server tabs
    after selecting a server it pushes you back to enter a password; I assume this is because of insufficient privileges? However why doesn’t it state that, instead it states “invalid password‿.
  • Currently all developers on the production server use a single user account on the Zend Platform (Not ideal really), however the developers account forbids any updates on events, ie close, ignore, delete.
    I’m still not sure whether events are logged globally and that each user account updates the status of that global event thus being the reason hosting & operations have disabled this feature?
  • Grouping and aggregating of events. I am told this is in the Buran Beta, however my understanding is that it is somewhat limited.
  • Comments to individual / grouped events would be a very handy feature forexample, steps to reproduce, fixes, or quick hacks that have been applied, hopefully will be added to the Zend Platform

Heres some API information that I have been sent, which is currently not live at present…

(more…)

Technorati , , ,

Popularity: 9% [?]