AJAX Components and BO!


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
I'm not familiar with how AJAX does it's data binding. Is it still going through web server? If so, then data can be channeled through BO? Or if it's bypassing web server and making connection with database, then what's going to happen with not getting data from BO?



Can someone shed some light on this issue? Seems like most of the new components for web are all AJAX enabled!



Thanks!

..ßen
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
AJAX does not directly talk to the database.  An AJAX control just uses an HTTP request object to postback to the page on the server (or some other page... it doesn't have to be the control's page).  So, the page is the one that handles the processing of the request, not the database directly; you're still in control of what gets returned to the control.  So, generally, AJAX is just used to validate data, not to actually bind it back; or AJAX is used for things like populating drop down lists and such.  So, for databinding, AJAX controls should work the exact same as a regular control. 
Ben Hayat
Ben Hayat
Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Ben thanks for the reply;

As I was looking at one of IG demos (http://samples.infragistics.com/2007.1/), is called "Customer Viewer (AJAX)", caught my attention that the AJAX might be bypassing the webserver and doing it's own databinding.

Ben, since you guys have IG suite, have you tested any of their new AJAX components with SF BO? I'm about to invest into this and I like to get some assurance that it works.

The info on Web section of SF is kind of slim.

Thanks!

..ßen
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
I can honestly say that I haven't tested any of the IG AJAX controls.  I have, however, tested SF with the Telerik R.A.D. AJAX panel that wraps any control in an AJAX wrapper.  I think IG might have something like that as well.  All of the AJAX controls still do a page postback when they need to talk to the server, so the binding should work fine with them.  But, no, I haven't tested an SF BO with any if the IG AJAX controls.
Ben Hayat
Ben Hayat
Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Ben Chase (04/25/2007)
I can honestly say that I haven't tested any of the IG AJAX controls. I have, however, tested SF with the Telerik R.A.D. AJAX panel that wraps any control in an AJAX wrapper. I think IG might have something like that as well. All of the AJAX controls still do a page postback when they need to talk to the server, so the binding should work fine with them. But, no, I haven't tested an SF BO with any if the IG AJAX controls.




Hi Ben; Thanks for the feedback. If you follow the link that I posted, you'll see, they have a great feature with showing data via AJAX that behaves, as if you're working with Windows app. I will probably contact IG support to see if their AJAX still go through the normal datasource. If so, then SF BO can just be another datasource.



Ben, why is it, that when I paste a link (not using the quote feature of this NG), the link does not appear on the post as a "Linkable" data. All I do, I paste a link and it appears as regular text. Doesn't InstantForum convert any www.xxx.com to a linkable data?



Thanks!

..ßen
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The forum doesn't dynamically parse links to ensure that they are converted to linkable values... using regex to do that would slow down the page processing.  The text editor that you use to post new links does the determination to see if it's a new link.  It's much like any MS Office program where if you paste the test it doesn't always recognize it as a link, but if you to go the end of the text that is a link and hit the enter key, it will re-parse it and mark it as a link.  So, after you paste a link, just put the cursor at the end and hit the enter key and once the link is converted to a hyperlink, just backspace out the new line that was created.
Ben Hayat
Ben Hayat
Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)Advanced StrataFrame User (516 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Ben Chase (04/25/2007)
The forum doesn't dynamically parse links to ensure that they are converted to linkable values... using regex to do that would slow down the page processing. The text editor that you use to post new links does the determination to see if it's a new link. It's much like any MS Office program where if you paste the test it doesn't always recognize it as a link, but if you to go the end of the text that is a link and hit the enter key, it will re-parse it and mark it as a link. So, after you paste a link, just put the cursor at the end and hit the enter key and once the link is converted to a hyperlink, just backspace out the new line that was created.




Damn, you're smart boy! Thanks...

..ßen
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search