This technique exists since a long time ...
on
Google Suggest Dissected
·
· Score: 5, Interesting
LiveSearch does something very similar, is Open Source and exists since April;)
If you look for more XMLHTTPRequest examples, which tightly integrate JS and PHP (other server side languages would be possible), see JPSpan.
I don't quite understand all the hype about Google Suggests. The technique for doing it exists since at least 2 years on Mozilla (and even longer on IE). Therefore, doing something like that was possible since a long time, but maybe everyone was just scared of using JS for "serious" stuff..
And it works in IE like any other ActiveX (the webpage is not that clear as you can use the control in any Windows application), we did some tests for a project some months ago.
The following could help to at least maintain A/V sync
-framedrop (also see -hardframedrop)
Skip displaying some frames to maintain A/V sync on
slow systems. Video filters are not applied to
such frames. For B frames even decoding is skipped
completely.
-hardframedrop
More intense frame dropping (breaks decoding).
Leads to image distortion!
man mplayer gives you more hints about tweaking mplayer;)
- Bitflux Editor - Wysiwyg XML Editing for Mozilla (based on mozile and yes, this is a shameless plug;) )
- Xopus - Wysiwyg XML Editing for MSIE/Win (commercial product...)
Don't judge PHP/XML yet, look forward to PHP5.
on
PHP Cookbook
·
· Score: 2, Interesting
PHP 5 will have much much better XML support.
There is a lot of work on a complete new DOM extension, which should clean up the mess done in domxml as of PHP 4. It will follow the W3C DOM API as much as possible and is completely rewritten from scratch.
Furthermore Sterling Hughes is working on SimpleXml. An extension which should make it much easier to access XML Documents with the usual PHP functions.
The SAX Parser in PHP 5 will also be based on libxml2 and not anymore on the aging expat library.
XML Validation, XPath and XSLT support are also currently revised and should be improved a lot in PHP5.
Almost anything is optional in PHP... MySQL and expat (= XML SAX support) are just enabled by default, but you can disable them easily within configure. But neither Postgres nor db2 are enabled by default.
Other XML-Features (DOM-Support, XSLT, XMLRPC) can also be easily added within the configure script. But it's true, it needs a recompile then (at least for these extension, if they are loaded dynamically later..)
4.3 was never supposed to be the "OO-Release". Better OO-Support will come with Zend Engine 2, which will be most certainly be in PHP 5.0. You can't expect a stable release of that until next summer.
I'm developing on linux. Therefore this can't be the problem.. Although, I had the impression it's faster on Windows, but I seldom use Windows, so i can't really judge that.
If anyone is interested, why it's mozilla only, I just updated our FAQ about that.
Spend about 15 minutes editing the Bitflux demo and then navigate off the page with the back button or close the window. You will silently and efficiently lose 15 minutes of work.
you mean you loose the edited data? Yep, this is not taken care of right now but shouldn't be much of a problem to be implemented. And if you turned of "onunload", then it's really your problem:) Another solution would be, that it saves the content every ~10 minutes to a temporary file on the server. Also not implemented yet:) But contributions are very welcome.
because even on my Athlon 1.4GHz it takes almost a second for any character
I have no idea, why on some machines it is terribly slow... On every machine i tested it until now, it was quite fast and typing stuff was certainly no problem and didn't take a second per character... (I have "only" a 700 MHz box and it is no problem, otherwise I wouldn't release this demo:) )
and it doesn't even show a cursor. Hit F7...
The other question is, what's wrong with Mozilla Composer?
Composer is only able to produce HTML.. But we want XML, any XML. Big difference in my opinion. It gives you a lot more possibilities than just plain old HTML and takes the burden from editors to know HTML.
The mozilla people know, that it's not implemented in the best way right now (see bug #167921). If this stays, as it is, many JavaScript applications won't be useable anymore, for example our recently open sourced Wysiwyg XML Bitflux Editor (*shameless plug*) and other similar applications. And there is no way to prevent it from the application side. But Mozilla promised a fix in the next week for that problem.
It's a security bug fix release. Only this bug was fixed to get it out as soon as possible. PHP 4.2.3 will have more bugs fixed (+ a proper QA) and should be released in the next weeks.
it's an awful layout, no consistency throughout everything und you don't find anything, though there's a lot of information on their sites.
see it for yourself at www.admin.ch
LiveSearch does something very similar, is Open Source and exists since April ;)
If you look for more XMLHTTPRequest examples, which tightly integrate JS and PHP (other server side languages would be possible), see JPSpan.
I don't quite understand all the hype about Google Suggests. The technique for doing it exists since at least 2 years on Mozilla (and even longer on IE). Therefore, doing something like that was possible since a long time, but maybe everyone was just scared of using JS for "serious" stuff..
Do you mean something like the Mozilla ActiveX control?
And it works in IE like any other ActiveX (the webpage is not that clear as you can use the control in any Windows application), we did some tests for a project some months ago.
s9y is not GPL, but BSD licensed ;)
And yes, it's a very nice blogging software. Can also be used with PostgreSQL and sqlite, AFAIk
The following could help to at least maintain A/V sync
;)
-framedrop (also see -hardframedrop)
Skip displaying some frames to maintain A/V sync on
slow systems. Video filters are not applied to
such frames. For B frames even decoding is skipped
completely.
-hardframedrop
More intense frame dropping (breaks decoding).
Leads to image distortion!
man mplayer gives you more hints about tweaking mplayer
If you're happy with (not so nicely formatted) HTML as input , this is certainly a start.
;) )
Some alternative editors:
- mozile - xhtml editing for mozilla.
- Bitflux Editor - Wysiwyg XML Editing for Mozilla (based on mozile and yes, this is a shameless plug
- Xopus - Wysiwyg XML Editing for MSIE/Win (commercial product...)
PHP 5 will have much much better XML support.
There is a lot of work on a complete new DOM extension, which should clean up the mess done in domxml as of PHP 4. It will follow the W3C DOM API as much as possible and is completely rewritten from scratch.
Furthermore Sterling Hughes is working on SimpleXml. An extension which should make it much easier to access XML Documents with the usual PHP functions.
The SAX Parser in PHP 5 will also be based on libxml2 and not anymore on the aging expat library.
XML Validation, XPath and XSLT support are also currently revised and should be improved a lot in PHP5.
Almost anything is optional in PHP... MySQL and expat (= XML SAX support) are just enabled by default, but you can disable them easily within configure. But neither Postgres nor db2 are enabled by default.
Other XML-Features (DOM-Support, XSLT, XMLRPC) can also be easily added within the configure script. But it's true, it needs a recompile then (at least for these extension, if they are loaded dynamically later..)
chregu
4.3 was never supposed to be the "OO-Release". Better OO-Support will come with Zend Engine 2, which will be most certainly be in PHP 5.0. You can't expect a stable release of that until next summer.
chregu
I'm developing on linux. Therefore this can't be the problem.. Although, I had the impression it's faster on Windows, but I seldom use Windows, so i can't really judge that.
If anyone is interested, why it's mozilla only, I just updated our FAQ about that.
Composer is just HTML. We (and xopus) on the other hand use any XML for in and output of the actual data.
Makes it for example much easier to edit structured content... And you have a lot more possibilities to offer to your editors than with just HTML.
chregu
Spend about 15 minutes editing the Bitflux demo and then navigate off the page with the back button or close the window. You will silently and efficiently lose 15 minutes of work.
:) Another solution would be, that it saves the content every ~10 minutes to a temporary file on the server. Also not implemented yet :) But contributions are very welcome.
you mean you loose the edited data? Yep, this is not taken care of right now but shouldn't be much of a problem to be implemented. And if you turned of "onunload", then it's really your problem
chregu
because even on my Athlon 1.4GHz it takes almost a second for any character
:) )
I have no idea, why on some machines it is terribly slow... On every machine i tested it until now, it was quite fast and typing stuff was certainly no problem and didn't take a second per character... (I have "only" a 700 MHz box and it is no problem, otherwise I wouldn't release this demo
and it doesn't even show a cursor.
Hit F7...
The other question is, what's wrong with Mozilla Composer?
Composer is only able to produce HTML.. But we want XML, any XML. Big difference in my opinion. It gives you a lot more possibilities than just plain old HTML and takes the burden from editors to know HTML.
The mozilla people know, that it's not implemented in the best way right now (see bug #167921). If this stays, as it is, many JavaScript applications won't be useable anymore, for example our recently open sourced Wysiwyg XML Bitflux Editor (*shameless plug*) and other similar applications.
And there is no way to prevent it from the application side. But Mozilla promised a fix in the next week for that problem.
chregu
It's a security bug fix release. Only this bug was fixed to get it out as soon as possible. PHP 4.2.3 will have more bugs fixed (+ a proper QA) and should be released in the next weeks.
chregu
Why wait for .asm, when you already can have .sm.
Get http://www.orga.sm quick. It's still available.
Mmmh, i rather pay 20$ to codeweavers than 200$ to Microsoft...
it's an awful layout, no consistency throughout everything und you don't find anything, though there's a lot of information on their sites. see it for yourself at www.admin.ch