I need to do a WebSite with Wisej,.. not Application.

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

 

Hi… WebSite vs Application.

This is a suggestion.

If Wisej can do this, it will certainly be our favorite tool.

We need to open separate pages.

Personally I want to create a website for product sales.

But it is required to work as an ecommerce website.

In which people can open different pages of the same website at the same time (/details.xdq?productid=21, /details.xdq?productid=54, /contact.xdq).

Have different products on different tabs.

This would be great, we could use Wisej for the design of Incredible Websites.

Do not tell us it’s not in your plans.

Please Wisej, I know you can do it.

We are many users who have this need and we trust in you.

 

Thanks.

We hope that we will have this option soon.

 

 

 

 

 

 

 

 

 

  • You must to post comments
0
0

Here is the attached sample on how to have multiple entry points within the same application. It can be done in many ways, this is one of them, reusing the same Default.html and using the page directly instead of calling a Main method on a different startup.

You can start the different pages:

htt://localhost/

http://localhost/Page1

http://localhost/Page2

http://localhost/Page3

http://localhost/Page4

Each one is an independent page within the same application. Wisej supports this to let a large system provide multiple views to different users. For example, a corporate ERP system may have a /Configuration subsystem, or a /Accounting subsystem, or a /Reports, or /Public, etc.

Each page starts a new session. Sharings sessions among different pages makes no sense and it would create a lot of problems at the first refresh or websocket update for the following reason: if you open a form or a dialog on /Page1 and then refresh /Page2 then the same form or dialog that was opened on Page1 would be shown on /Page2 when the state is restored.

Bypassing the entry point or entry form using  the URL also doesn’t make sense in a stateful web application since it would allow a user to break the application’s workflow and open a form or dialog out of context.

In my view web sites should be built using web site technologies based on concatenating strings and returning html to the browser – maybe you can sprinkle them with javascript widgets, jquery, etc. Wisej is not the right technology for web sites based on html pages.

HTH

Best,

Luca

  • You must to post comments
0
0

Hi Mark,

Thank you for your interest in Wisej. I will setup a small sample for you to use in order to have multiple end points. Will post it later tonight or tomorrow.

Wisej supports multiple endpoints (or subappliactions). It doesn’t support URL with extensions like wx, wgx, gvw or anythins else. It supports “pretty” URL where you don’t have to write Default.html or MyApp.html or Accounting.html and instead write /MyApp or /Accounting. Each URL corresponds to 1 page only (SPA, as I have already mentioned).

The page can be empty or contain any HTML you like. It doesn’t have anything to do with the application – it’s used as the “canvas” where the widgets are created. This is how all Single Page Application (SPA) systems work.

If you are looking to a system similar to ASP.NET, PHP, MVC, JSP, … where each page can be loaded independently, Wisej is not the right framework.

In general, please keep in mind the following points the using Wisej:

  • Wisej is designed and built for Web Applications (mostly Line of Business apps), not web sites. There are very many frameworks for web sites and hybrids, but virtually nothing for web applications and specifically for Real Time Web Applications.
  • When you use sub-applications, each different URL starts a different session.
  • You can control the content of the SPA using the URL’s hash, a common technique among SPAs. See the deep linking example.

HTH

Best,

Luca

  • You must to post comments
0
0

 

 

No? any idea?

  • You must to post comments
0
0

 

Hi

?????

  • You must to post comments
0
0

 

 

Maybe something like this.. see the attached pic.

In my sample, I create diferent json file for each page.

But with the same sessionId?? is possible?

 

Attachment
  • You must to post comments
0
0

 

Ok, but….

I have a startup page like “default.html” or “home.html” in mi case, when I load my app in /home.html this load my Wisej Page “HomePage”… so far so good.

How can I do an other page named “contact.html” and this load the Wisej Page “ContactPage”

 

Any way to load different’s pages will be great… for example like “Facebook”.. this is a full WebSite…

Will be amazing that I can develop something like that with Wisej… Can you atach a simple sample?

 

Thanks.

  • You must to post comments
0
0

Hi Mark,

We don’t have the extension wx to create “pages”. I think you are mixing it with visual webgui’s wgx extension. Wisej uses the Single Page Application (SPA) architecture, which is common for web applications. With Wisej you can use /Default.html or /MyPage.html or /MyApp, etc. See Configuration.

You can have sub-applications with a different page: a project in Wisej can have Default.html and it can have Accounting.html, for example. However, when you address a different URL you get a different session. Bypassing the entry point and being able to create a form from the URL was discarded because it messes up the state when refreshing and it only creates problems.

You can also use the deep linking approach (also typical of SPAs) to show different views of the application depending on the arguments in the URL. Basically we use all standard approaches for SPAs.

Best,

Luca

  • You must to post comments
0
0

 

This work for show the page….
Dim phome As New home

Application.MainPage = phome

 

But how can i open at the same time the phome, and contact page, and productdetails page?

For example:

Open at the same tieme:

 

/contact.wx

/home.wx

/productdetails.wx?id=12

/productdetails.wx?id=54

/aboutus.wx

/payment.wx

 

 

wx extension is just a sample.. maybe will be html i don’t know.

and the right click is important for “open this link in a new tab” or “open this link in a new window”… very used in any page.

 

 

Thanks again Luca.

 

 

 

  • You must to post comments
0
0

 

 

Hi Luca,

Thanks… this is great…

How works?

If I create a page named “home” how can i access to it?… i tried home.wx.. but the page is only white.

 

 

  • You must to post comments
0
0

You can do that already. Use the Page component instead of Form and use deep linking or read the URL arguments to determine which page or content to show.

Let me now if you’d like a sample.

Best,

Luca

  • You must to post comments
Showing 10 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json