Showing posts with label functionality. Show all posts
Showing posts with label functionality. Show all posts

Wednesday, March 28, 2012

Atlas without ASP.NET

I have observed that Atlas has a strong dependency to ASP.NET.
All Atlas controls have the form of ASP.NET components.

Could I use functionality of Atlas without using ASP.NET?

More precisely I would like to take advantage of Atlas rich UI features but use a server with no ASP.NET support (Tomcat, JBoss, Weblogic etc) and without using ASP.NET at all.

Is it possible? If yes how?

Please assist.

Hi,

and welcome to the ASP.NET forums.

I read on a blog last weekend that at Mix06 there was a demo by just using the script libraries to interact with PHP pages that ran on an Apache server. Unfortunately I could find the presentation or sample code at that timeSad [:(].

Grz, Kris.


hello.

well, i think it's fair to say taht atlas is divided into 2 parts: client side and server side. Most of the client side features can be used in non-asp.net pages. for instance, you can use the OO abstractions to build better javascript objects. You can also use the atlas elements that wrap the controls and i think that you can also use most of the behaviors.

i also think that you can call web services if their return value is formatted according to the JSON rules.

so, if you want to reuse the client side of the atlas, you should only need to add the necessary jscript files to your pages and you should be ok :)

Wednesday, March 21, 2012

Atlas runtime

I've been trying to find information on "how to inherit the atlas runtime to provide additional functionality". For instance, I don't want to reinvent the wheel to write AutoComplete functionality, but I'd like to add a line of code to the behavior.

if (only 1 result returned) { call same code as the enter key event }

This would also mean that I'd need the script manager to reference something besides Atlas.js which I'm not sure how to do.

Yes, I could just edit the existing Atlas.js file, but if I can get this, it may open doors to more. Wink

(April CTP)

hello.

well, you'll only be able to do that if the method you want to modify is "virtual". if i recal correctly, there's not much you can do in the autocompletebehavior, though i could be wrong...

i didn't get the scriptmanager question...can you give more details?


I know exactly what code I want added and where. Just not sure how to do it, preferably so that it doesn't require totally redoing it with the next ctp.

Ignore the script manager question, I've solved that part of my question.