Topic: The Official 0.5 Beta 1 Thread

OK folks, 0.5 Beta 1 is out in the wild, so we look forward to hearing your feedback and ideas. Please post your 0.5-specific issues, upgrade questions, etc. in this thread so we don't clog up the boards.

Thanks!

Jared

Project manager for xajax

Re: The Official 0.5 Beta 1 Thread

Allright, i have put it on my CMS, seems to work well.

Last edited by Anthor (2006-10-03 9:05:01 PM)

Re: The Official 0.5 Beta 1 Thread

Same here, so far, so good.

And for the people crying wolf about chancing/converting a existing project, just run a maybe a few dozen mass converts on the function names, and most of your project is converted in maybe 10 min time. Most of it are just namechanges, that you can convert in a mass search & replace.

Back to the project. Lets see if i can break xajax smile

Re: The Official 0.5 Beta 1 Thread

Any major changes that i should implement in my already written code?

Using xajax 0.5

Re: The Official 0.5 Beta 1 Thread

Not really, mostly a few name changes like "->addScript" becoming "->script", well, drop the "add" on everything. The return code does not need the XLM part, etc ... You will see when you relink to the 5.0 script. When a error pops up, just look up the function in the examples for the new correct write method, and do a mass search & replace. Depending on how big your scripts are, you need to do it maybe a dozen times for most common functions, and for your init settings that now uses the flag function.

Like i said, took me 10min to convert my current project, and a few min to fix any change i missed after. There is no real chance in the function vars etc, so its mostly a major search & rename job without breaking the project.

Re: The Official 0.5 Beta 1 Thread

The magic_quotes_gpc stripslashes from array bug is still in the code

Looking in the xajaxDefaultRequestProcessorPlugin.inc.php file, it doesnt look to be fixed( line 400)

From my other post:
http://community.xajaxproject.org/viewtopic.php?id=1819

Re: The Official 0.5 Beta 1 Thread

Happy to tell that I'm proudly running xajax 0.5 b1, only 5 min to rename the old function names and I was done smile
BTW does anybody know how to include the scriptaculous framework in xajax using the new plugin engine?

Re: The Official 0.5 Beta 1 Thread

madz wrote:

BTW does anybody know how to include the scriptaculous framework in xajax using the new plugin engine?

something i'd wish to know too smile

and i've converted some of my small projects to 0.5beta ... seems to work well smile

Re: The Official 0.5 Beta 1 Thread

I'm still having the problem mentioned in this topic: http://community.xajaxproject.org/viewtopic.php?id=1956

Re: The Official 0.5 Beta 1 Thread

madz wrote:

BTW does anybody know how to include the scriptaculous framework in xajax using the new plugin engine?

need this information too wink

i convert my actually project at the moment from 0.2.4 to 0.5

Re: The Official 0.5 Beta 1 Thread

yeah i am asking myself how to do that too, since there are so many new functions, which one do you use to implement a plugin like scriptaculous with includeScript() and registerFunction()???? maybe somebody can show a little example

Re: The Official 0.5 Beta 1 Thread

I'm sorry I didn't point this out earlier, but Beta 1 was not a "bug fix" release compared with 0.2.4. There are a few improvements, but it's likely that most outstanding problems from 0.2.4 are still there, and indeed there are most likely new bugs as well. Now, that being said, please let us know what problems you do find even if they are old, because that's most helpful. All I'm saying is don't be surprised to find them. smile

Project manager for xajax

Re: The Official 0.5 Beta 1 Thread

How is the Comet/Streaming support coming along in 0.5? Been looking forward to this and have several places I'd like to use it. Still planned?

Thanks and great work.
- Russell

Re: The Official 0.5 Beta 1 Thread

Is this version stable enough to use or only intented for testing by users of previous versions? I never worked with (x)ajax before...
Is the documention updated for the new version?

Things i like to to with ajax is for example autocompletion (think i need scriptaculous for this one) and filling combo-box options and off course changing innerHtml etc...

Re: The Official 0.5 Beta 1 Thread

ikki, its stable.

Also, for the things you talk about, take a look in the example & test files. Also, the docs of the 2.x branch are almost the same as the 5.x branch ( expect the enhanced or dare i say, simplified naming ).

Re: The Official 0.5 Beta 1 Thread

What about the previous page button?? And file upload? And this synchronizing stuff, like comet?

Is it included?

Re: The Official 0.5 Beta 1 Thread

statiic wrote:

What about the previous page button?? And file upload? And this synchronizing stuff, like comet?

Is it included?

Those are all going to be developed as plugins. We needed to get the base architecture in place before we started adding a bunch of major feature enhancements on top. So the short answer to your question is no, but the long answer is that we'll try to get some or all of this stuff in place for Beta 2, which is due out soon-ish.

Jared

Project manager for xajax

Re: The Official 0.5 Beta 1 Thread

Hi Jared,

JaredWhite wrote:

...we'll try to get some or all of this stuff in place for Beta 2, which is due out soon-ish.

What about JavaScript part for plugins functionality? Beta 2 also? ;-) Thank You!

Re: The Official 0.5 Beta 1 Thread

What is "legacy.inc.php" for, and why are the php not well-closed at the last line?

Using xajax 0.5

Re: The Official 0.5 Beta 1 Thread

Take a look at the upgrade information in the wiki. legacy.inc.php contains the legacyXajax class, a bridge from the old methods to the new methods in the Xajax class.

Last edited by Cyberwolf (2006-10-06 7:24:58 AM)

Re: The Official 0.5 Beta 1 Thread

Thanks. Im still wondering why the file has no php closing brackets. (?>)

Using xajax 0.5

Re: The Official 0.5 Beta 1 Thread

I've started a new project based on 0.5 beta1 and now i think i made a mistake. It took me about 2 hours to upgrade the sources.

Now i see that a new "xajax->call()" (xajaxResponse->addScriptCall();) doesn't work as it worked before.
I don't have argument values on js side (for windows-1251 encoding at least).

Just read somewhere here that "Old functionality of 0.2.4 is ok in 0.5"

Continue working on solving the issue.

Tested the simpliest piece of code. Result: js function sin't called at all:

Code: PHP

...

$objResponse->call("edit_ed_text",'asd','asd');

...

Code: PHP

function edit_ed_text(editor_name,value)

{

    alert('edit_ed_text:');

//    var oEditor = FCKeditorAPI.GetInstance(editor_name);

//    oEditor.SetHTML( value ) ;

    return false;

}

Last edited by mstar (2006-10-06 10:29:18 AM)

Re: The Official 0.5 Beta 1 Thread

mstar, I think this is related to the problem I mentioned some replies earlier: http://community.xajaxproject.org/viewtopic.php?id=1956

Re: The Official 0.5 Beta 1 Thread

Cyberwolf wrote:

mstar, I think this is related to the problem I mentioned some replies earlier

Yes. That's it.

Just skipped your post reading the forum.

Re: The Official 0.5 Beta 1 Thread

PHP doesn't actually require an ending ?>. So for PHP files that only contain PHP code, they can be left out, which some folks do these days, including me.

Project manager for xajax