Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...AJAX: The Definitive Module solutionAJAX: The Definitive Module solution
Previous
 
Next
New Post
3/28/2007 2:29 AM
 

Just saw this thread so might as well chime in...

Thanks mrgsoft for support :)

As for AJAX support, it's been out there for about a month now I think via a tutorial on my site (mrgsoft has referenced it). It does work quite nice with it, and if you need AJAX support in pre.4.5 releases you can use it.

However... if you have a chance of using 4.5.0 it would be much smarter to use the native implementation of DNN. For a bunch of reasons... to name a few... support, framework integration, etc....

One thing you will find a cumberstone (not by the fault of DNN team) is that it's optional to have AJAX installed and used... this would mean your modules need to be prepared and have a fall back mechanism in case if AJAX is not present. DNN team has been good enough to provide you with the means to test this (is it enabled and does it exist), but you yourself need to make sure that your users don't suffer.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
3/28/2007 6:14 AM
 

Ok. This is probably a dumb question :) !

If I produce an AJAX compliant module [either 4.4.1 or 4.5 when it comes out], I need, of course, to install the AJAX extensions into my hosting server.........

Is there a requirement on the client side?
Is this going to be like the Flash component where one would identify if the Flash client manager is present [client side] and deprecate the page accordingly? so, sort of:

If (AJaxIsPresent) then
  Do the Ajax Stuff....
Else
  Do boring stuff.....
end if

 

Duncan

PS. Vladan.... Ive been to your site previously and used your excellent tutorial on setting out the VStudio 2005 to get the best performance for developing modules. Excellent. Many thanks. I have this all going on my Vista box now and the 'change code|compile|Deploy to Browser|debug' process is now (almost) instant..... Brilliant.

 

 

 

 
New Post
3/28/2007 7:44 AM
 

Nothing is needed on the client. AJAX is just normal server code, and normal javascript... packaged into a higher level of abstraction.

As for development, you have 3 options:

a) Write double code, one with AJAX, one without (you will start seeing the difference when you start writting components, using web services and such and when the code you need to write starts pilling) - and then you can use the logic which you've mentioned above

b) Make you module ONLY work with AJAX, then you add a dependency upon installation which will warn the person installing your module that you must have AJAX, and then add only AJAX support.

c) Don't use AJAX at all.

I belive the descision is case by case base, somewhere you will go one way, somewhere another.


P.S. Thanks  I appreciate comments like these, I like to know that my effort has payed off

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
3/28/2007 8:36 AM
 

Thanks for that, Vladan.

As these modules are my own and only go onto my own dedicated host server [for my clients' websites], the server side isn't an issue.

So I guess the only outstanding point is whether the user has javascript enabled. Is that right?

I took a quick look via Google on this and it sems that the only way I can do this is by using a product called browserhawk... is this true?

 

Appreciate your help.

Duncan.

 
New Post
3/30/2007 4:54 AM
 

Actually I don't know... must admit that I don't pay attention to that part simply because a whole lot of other things will not work if it's turned off (e.g. the most basic form of postbacks is done via a javascript function) that the fact that my code won't work will be the least problem to the end user.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...AJAX: The Definitive Module solutionAJAX: The Definitive Module solution


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out