Re: [Gambas-user] New gb.web.form component

2015-12-06 Thread Benoît Minisini
Le 06/12/2015 14:45, PICCORO McKAY Lenz a écrit :
> Hi Benoit and others.. there's many things here that must be take carefully
>
> 1) take in consideration stabilitiy in words of changes of the web
> sites/apps, everyday are changing and the browsers force that! the
> app, javascript, ajax, and those stupids that forces developers to
> change and change anc change on all the new day always change also..
>
> This can broke the forwad compatibility o gambas, remenber any older
> gambas app in series will compile in nwe version, example my APP-3.4.0
> can be build in gambas 3.8.3 and runs without change, THAT ITS NOT IN
> THE WEB DEVELOPEMNT wordl!
>
> A thing that gambas have its the consistency in development word,
> aditions and aditions but nothing break the things made in the past!
> In the web development word that's its not!
>
> 2) due the firts fact, the development of that will take more thant
> xpected, so a idea can be separate the project!, BUT this will means
> more workload for manpowers and for Benoit!

Please don't take things too much emotionally. I suggest that you look 
deeply in the gb.web.form component and understand how it works concretely.

As I have already said, the browser is used a bit like a graphical 
terminal. So if it decides not to be backward-compatible, Gambas cannot 
do much against that. Exactly like with QT or GTK+.

>
>
> AND NOW SOME NOTES:
>> create an application entirely in javascript that will be run inside the
>> browser (like Google docs for example).
> i dont like, due today the web apps take tooo much cpu process, due
> that! also on every day changes and the browsers change and the users
> never have peace, always pending "update" the browser!
> SO THIS WIL IMPACT IN THE GUI? and in gambas gui of web  component?
> so obviously this will impact in the development and benoit time dedication!
>
> CGI IMPORTANT NOTE
>> Do understand that the web application is a CGI script that must build
> 
>> application. It has performance impact.
>
> I improved that, runnig multiple gci apps and interacting between
> cgi's, the performan problem gone! of course u must programing better
> logic beetween projects/apps

Please make an effort to make your english more readable. It takes some 
brain power to put the letters back in order. And then I even don't 
understand what you are talking about exactly...

Anyway, thanks for your interest on gb.web.form!

Regards,

-- 
Benoît Minisini

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-12-06 Thread PICCORO McKAY Lenz
Hi Benoit and others.. there's many things here that must be take carefully

1) take in consideration stabilitiy in words of changes of the web
sites/apps, everyday are changing and the browsers force that! the
app, javascript, ajax, and those stupids that forces developers to
change and change anc change on all the new day always change also..

This can broke the forwad compatibility o gambas, remenber any older
gambas app in series will compile in nwe version, example my APP-3.4.0
can be build in gambas 3.8.3 and runs without change, THAT ITS NOT IN
THE WEB DEVELOPEMNT wordl!

A thing that gambas have its the consistency in development word,
aditions and aditions but nothing break the things made in the past!
In the web development word that's its not!

2) due the firts fact, the development of that will take more thant
xpected, so a idea can be separate the project!, BUT this will means
more workload for manpowers and for Benoit!


AND NOW SOME NOTES:
> create an application entirely in javascript that will be run inside the
> browser (like Google docs for example).
i dont like, due today the web apps take tooo much cpu process, due
that! also on every day changes and the browsers change and the users
never have peace, always pending "update" the browser!
SO THIS WIL IMPACT IN THE GUI? and in gambas gui of web  component?
so obviously this will impact in the development and benoit time dedication!

CGI IMPORTANT NOTE
> Do understand that the web application is a CGI script that must build

> application. It has performance impact.

I improved that, runnig multiple gci apps and interacting between
cgi's, the performan problem gone! of course u must programing better
logic beetween projects/apps

2015-11-29 17:12 GMT-04:30, Moviga Technologies :
>
>
> It was just starting to resemble the Gambas IDE, so I got curious of how
> ambitious you had become ;) Glad to hear that your feet is still on the
> ground, haha :)
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


-- 
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-29 Thread Moviga Technologies
 

It was just starting to resemble the Gambas IDE, so I got curious of how
ambitious you had become ;) Glad to hear that your feet is still on the
ground, haha :)  

  
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-29 Thread Benoît Minisini
Le 27/11/2015 20:54, Moviga Technologies a écrit :
>
>
> Are you making Gambas IDE as a webapp???

Hmmm... No. I don't see where it would be useful.


or are you just playing around?

Neither. I just want to be able to write webapps a bit like I write 
desktop apps: quickly, and without having to know everything about HTML, 
CSS, Javascript, Ajax and all the browser quirks.

It's impossible to have exactly the same behaviour as with gui 
components, but it should be easy enough to have windows, dialog, 
messages, and some powerful controls.

Regards,

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-19 Thread Benoît Minisini
Le 19/11/2015 11:45, Moviga Technologies a écrit :
>
>
> I was thinking of forms as pages, and that you could gracefully change
> from one form/page to another by using Ajax-calls. Now, that I play with
> the latest version, it seems that you will use the main form as the
> page, and the subsequent forms as draggable/resizable divs. How about
> allowing for both. Forms that are pages and forms that are divs (they
> are more like dialogs). Maby WebForms and WebDialogs?

There is no reason to make that difference.

You may have forms that you want to display sometimes alone in a page, 
sometimes inside a dialog on top on another form.

And you may want to embed a form in another form too. For example if you 
want a common header or footer in all your forms.

At the moment, you just don't have a method to open a form in another 
page. But you can already do that by direclty typing the right url in 
the browser (http:).

Regards,

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-19 Thread Moviga Technologies
 

OK! Sounds good! 

  
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-18 Thread Moviga Technologies

> How to switch from one web form to another one is not designed yet.

Have you considered using Ajax?

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-18 Thread Benoît Minisini
Le 19/11/2015 01:56, Mike Crean a écrit :
> Hi Benoit, take alook at 
> http://www.sitepoint.com/build-your-own-ajax-web-apps/andhttp://www.htmlgoodies.com/beyond/javascript/article.php/3767776/How-to-Develop-Web-Applications-with-Ajax-Part-1.htmfor
>  a look at the AJAX technologies.
> Best Regards Mike
>

I know, I was ironic. :-)

Ajax means "not just using HTML", so it means too much to being actually 
meaningful.

If you study the gb.web.form component, you will see that it "uses 
Ajax". For example, there is no form submit, and it tries to refresh 
only the part of the page that changes (but it is far from being minimal 
at the moment). But it does not really works like common Ajax web 
applications.

Regards,

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-15 Thread Jerry McBride
On 11/09/15 23:19, Benoît Minisini wrote:
> Hi,
>
> The gb.web.form is a new component whose goal is easing Web application
> developement by mainly allowing to use the IDE form editor to define
> your GUI interface.
>
> It will use the web browser mainly as a sophisticated terminal. All the
> application logic will be run on the server. It won't allow you to
> create an application entirely in javascript that will be run inside the
> browser (like Google docs for example).
>

That would be usable.

> The GUI is based a hierarchy of classes inheriting WebControl. The web
> page is defined by a WebForm class. And you have a generic container
> control, a button control, and a HTML control at the moment.
>
> Complex javascript run on the browser must be implemented through
> dedicated web controls. For example, we can imagine a control to put
> OpenStreetMap inside your web application, a tree view, a grid view...
>
> How to switch from one web form to another one is not designed yet. At
> the moment, the url 'http:abcd' is supposed to display
> the web form whose class name is 'abcd'. There is no way to have
> different instances of the same web form.
>

This will change, Yes? multi-instances is a must.


> The application state is stored in the user session. Don't expect to run
> millions of users at the same time without suffering.
>

The whole purpose of a webapp is to provide a tool for many users. Can 
you say what the upper limit of users running the same webapp?

> Do understand that the web application is a CGI script that must build
> everything from scratch at each request, contrary to a normal
> application. It has performance impact.
>

That is the nature of CGI. But on a sufficiently powerful service the 
lag in performance is lost in network delay/latency.

> It is really an embryo at the moment, but you can run the project to
> display a WebForm1 test form and see how it behaves.
>

A very good start. I am currently writing webapps in runbasic. Sorry to 
say, runbasic looks as though it will never be a finished language. I 
hope GamBas provides us with a seriously good tool to write web 
applications in a language that we are familiar with.

I appreciate all your efforts in this regard.

> Just tell me what you think about that, what ideas you have, and so on!
>



--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 00:11, Moviga Technologies a écrit :
>> All controls and controls elements should have a specific CSS class
>> (whose name begins with "gw-") that will allow to customize their
>> apparence.
>>
>> If there is a "style.css" file in the root folder of your project, it
>> will be automatically used by the gb.web.form component to generate the
>> web site stylesheet.
>>
>> That way, you can customize the look of everything as you like.
>>
>> As for widget themes, I will make one default, and let Gambas users
>> define the others!
>
> Yes, I understand this. I was just thinking it could be handy with a
> dropdown list with some extra styles besides the default one - kind of
> like with the editor styles.
>
> I found two bugs. See attached picture.
> If I put a timer and set Enabled to true and hit run, the page does not
> load.
>

First bug will be fixed.

As for the Timer: never use a running Timer inside a web application, 
because it activates the event loop, which runs once the Main function 
is terminated, and so the program never terminates. Unless you stop the 
timer yourself later.

Anyway, a Timer is not really useful in that context.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 15/11/2015 03:29, Sebastian Kulesz a écrit :
> Hi Benoît, just a heads up that the gb.web.form component is missing from
> the comp/src/order file. That's the only thing stopping it from being
> included in the PPA. I would fix it myself, but I don't have access to the
> svn tree from where I'm at.
>

Oops, fixed.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Sebastian Kulesz
Hi Benoît, just a heads up that the gb.web.form component is missing from
the comp/src/order file. That's the only thing stopping it from being
included in the PPA. I would fix it myself, but I don't have access to the
svn tree from where I'm at.

On Sat, Nov 14, 2015 at 8:31 PM, Jussi Lahtinen 
wrote:

> My condolences as well.
> It's a shame how so few rotten minds can ruin so many innocent lives.
>
>
> Jussi
>
> On Sat, Nov 14, 2015 at 9:05 PM, Benoît Minisini <
> gam...@users.sourceforge.net> wrote:
>
> > Le 14/11/2015 19:57, ML a écrit :
> > > *On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
> > >> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
> > >>> Haha! I am laughing! :D That's a good reason!
> > >>> My condolences to you by the way. It is very sad to see what has
> > >>> happened. Do you live in Paris?
> > >> Yep.
> > >> As I said to a friend, the "great" leaders of our "free" world were
> > >> thinking about giving antitank rockets to the "moderate" terrorists
> just
> > >> a week ago to pester the russians. What a beautiful firework they
> could
> > >> do in Paris with that. The number of deaths record will be beaten
> > >> easily. :-(
> > > Benoît,
> > >
> > > GLAD to hear (read?) that you're OK after looking open-mouthed to the
> > > yellowish news. Also, my condolences to you on the brutal nonsense.
> > > (as usual in our local news, they found an argentine "survivor" whom
> > > they gave plenty of airtime)
> > > I did not abandon ODBC, by the way, just sharpening my C.
> > >
> > > Ok back on topic. I have 3.8.3. Out of curiosity after reading this
> > > thread I wanted to create a web project.
> > > I did, and ran it. A Firefox opened with all the environment values in
> a
> > > nice table. But I could not find anywhere a place to add a new form.
> How
> > > do I add a Form in a web app? Or am I talking my usual nonsense?
> > >
> > > Regards,
> > > An alleviated zxMarce.
> >
> > At the moment gb.web.form is in development, so I use it as a debugging
> > project as usual.
> >
> > A normal web app will use gb.web.form and create WebForms, like a GUI
> > app just uses gb.gui and create Forms.
> >
> > Of course, there are a lot of differences and subtle tricks. So you
> > should know what a CGI script is, HTML, CSS and JavaScript to know
> > exactly what you are doing.
> >
> > --
> > Benoît Minisini
> >
> >
> >
> --
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Moviga Technologies
 

Haha! I am laughing! :D That's a good reason! 

My condolences to you by the way. It is very sad to see what has
happened. Do you live in Paris? 
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Frank


Op 14-11-15 om 17:00 schreef Benoît Minisini:
> Le 14/11/2015 16:49, Frank a écrit :
>> Hello,
>>
>> I have been reading this thread about the new component. This will not 
>> enable me to create a html mail newsletter to be send, right?
>> I have been searching to create a mailbody in HTML to send via 
>> desktop.sendmail
>>
>> swissgamba
>>
> Mail is not related to the Web (HTTP protocol).
>
> To send a mail, you must use the SMTP protocol (gb.net.smtp). And to
> create the mail to send, you must use the gb.mime component.
>
i thought so already..I'll continue figuring out how to use these components. 
thanks


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Moviga Technologies
 

Why then is the timer available among the controls to drop on the
WebForm? 

  
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 16:49, Frank a écrit :
> Hello,
>
> I have been reading this thread about the new component. This will not enable 
> me to create a html mail newsletter to be send, right?
> I have been searching to create a mailbody in HTML to send via 
> desktop.sendmail
>
> swissgamba
>

Mail is not related to the Web (HTTP protocol).

To send a mail, you must use the SMTP protocol (gb.net.smtp). And to 
create the mail to send, you must use the gb.mime component.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 16:18, Moviga Technologies a écrit :
>
>
> Haha! I am laughing! :D That's a good reason!
>
> My condolences to you by the way. It is very sad to see what has
> happened. Do you live in Paris?

Yep.

As I said to a friend, the "great" leaders of our "free" world were 
thinking about giving antitank rockets to the "moderate" terrorists just 
a week ago to pester the russians. What a beautiful firework they could 
do in Paris with that. The number of deaths record will be beaten 
easily. :-(

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 15:17, Moviga Technologies a écrit :
>
>
> Why then is the timer available among the controls to drop on the
> WebForm?
>

Because things are not finished. :-)

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Frank
Hello,

I have been reading this thread about the new component. This will not enable 
me to create a html mail newsletter to be send, right?
I have been searching to create a mailbody in HTML to send via desktop.sendmail

swissgamba


Op 14-11-15 om 16:29 schreef Benoît Minisini:
> Le 14/11/2015 16:18, Moviga Technologies a écrit :
>>
>> Haha! I am laughing! :D That's a good reason!
>>
>> My condolences to you by the way. It is very sad to see what has
>> happened. Do you live in Paris?
> Yep.
>
> As I said to a friend, the "great" leaders of our "free" world were
> thinking about giving antitank rockets to the "moderate" terrorists just
> a week ago to pester the russians. What a beautiful firework they could
> do in Paris with that. The number of deaths record will be beaten
> easily. :-(
>


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread ML
*On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
>> Haha! I am laughing! :D That's a good reason!
>> My condolences to you by the way. It is very sad to see what has
>> happened. Do you live in Paris?
> Yep.
> As I said to a friend, the "great" leaders of our "free" world were 
> thinking about giving antitank rockets to the "moderate" terrorists just 
> a week ago to pester the russians. What a beautiful firework they could 
> do in Paris with that. The number of deaths record will be beaten 
> easily. :-(
Benoît,

GLAD to hear (read?) that you're OK after looking open-mouthed to the
yellowish news. Also, my condolences to you on the brutal nonsense.
(as usual in our local news, they found an argentine "survivor" whom
they gave plenty of airtime)
I did not abandon ODBC, by the way, just sharpening my C.

Ok back on topic. I have 3.8.3. Out of curiosity after reading this
thread I wanted to create a web project.
I did, and ran it. A Firefox opened with all the environment values in a
nice table. But I could not find anywhere a place to add a new form. How
do I add a Form in a web app? Or am I talking my usual nonsense?

Regards,
An alleviated zxMarce.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Benoît Minisini
Le 14/11/2015 19:57, ML a écrit :
> *On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
>> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
>>> Haha! I am laughing! :D That's a good reason!
>>> My condolences to you by the way. It is very sad to see what has
>>> happened. Do you live in Paris?
>> Yep.
>> As I said to a friend, the "great" leaders of our "free" world were
>> thinking about giving antitank rockets to the "moderate" terrorists just
>> a week ago to pester the russians. What a beautiful firework they could
>> do in Paris with that. The number of deaths record will be beaten
>> easily. :-(
> Benoît,
>
> GLAD to hear (read?) that you're OK after looking open-mouthed to the
> yellowish news. Also, my condolences to you on the brutal nonsense.
> (as usual in our local news, they found an argentine "survivor" whom
> they gave plenty of airtime)
> I did not abandon ODBC, by the way, just sharpening my C.
>
> Ok back on topic. I have 3.8.3. Out of curiosity after reading this
> thread I wanted to create a web project.
> I did, and ran it. A Firefox opened with all the environment values in a
> nice table. But I could not find anywhere a place to add a new form. How
> do I add a Form in a web app? Or am I talking my usual nonsense?
>
> Regards,
> An alleviated zxMarce.

At the moment gb.web.form is in development, so I use it as a debugging 
project as usual.

A normal web app will use gb.web.form and create WebForms, like a GUI 
app just uses gb.gui and create Forms.

Of course, there are a lot of differences and subtle tricks. So you 
should know what a CGI script is, HTML, CSS and JavaScript to know 
exactly what you are doing.

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Moviga Technologies
> Yep.
> 
> As I said to a friend, the "great" leaders of our "free" world were
> thinking about giving antitank rockets to the "moderate" terrorists 
> just
> a week ago to pester the russians. What a beautiful firework they could
> do in Paris with that. The number of deaths record will be beaten
> easily. :-(

Europe as we know it is about to change it seems.

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-14 Thread Jussi Lahtinen
My condolences as well.
It's a shame how so few rotten minds can ruin so many innocent lives.


Jussi

On Sat, Nov 14, 2015 at 9:05 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:

> Le 14/11/2015 19:57, ML a écrit :
> > *On 11/14/2015 12:29 PM, Benoît Minisini wrote:*
> >> *Le 14/11/2015 16:18, Moviga Technologies a écrit :*
> >>> Haha! I am laughing! :D That's a good reason!
> >>> My condolences to you by the way. It is very sad to see what has
> >>> happened. Do you live in Paris?
> >> Yep.
> >> As I said to a friend, the "great" leaders of our "free" world were
> >> thinking about giving antitank rockets to the "moderate" terrorists just
> >> a week ago to pester the russians. What a beautiful firework they could
> >> do in Paris with that. The number of deaths record will be beaten
> >> easily. :-(
> > Benoît,
> >
> > GLAD to hear (read?) that you're OK after looking open-mouthed to the
> > yellowish news. Also, my condolences to you on the brutal nonsense.
> > (as usual in our local news, they found an argentine "survivor" whom
> > they gave plenty of airtime)
> > I did not abandon ODBC, by the way, just sharpening my C.
> >
> > Ok back on topic. I have 3.8.3. Out of curiosity after reading this
> > thread I wanted to create a web project.
> > I did, and ran it. A Firefox opened with all the environment values in a
> > nice table. But I could not find anywhere a place to add a new form. How
> > do I add a Form in a web app? Or am I talking my usual nonsense?
> >
> > Regards,
> > An alleviated zxMarce.
>
> At the moment gb.web.form is in development, so I use it as a debugging
> project as usual.
>
> A normal web app will use gb.web.form and create WebForms, like a GUI
> app just uses gb.gui and create Forms.
>
> Of course, there are a lot of differences and subtle tricks. So you
> should know what a CGI script is, HTML, CSS and JavaScript to know
> exactly what you are doing.
>
> --
> Benoît Minisini
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-13 Thread Moviga Technologies
 

This is starting to look really cool Benoît :) Good job! 

Some years ago I made a system for a company in PHP that heavily relied
on forms. It's purpose was to keep track of projects, customers,
warehouse, carried out and pending repair tasks, employees, and so
forth. With this I could make it in Gambas in much shorter time :) 

Perhaps you could add a set of predefined Web-GUI styles (that are CSS
files) and ability to make custom styles that are remembered by the IDE.


I.e. Google material, bootstrap, amazon, github, and so on... 

  
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-13 Thread Moviga Technologies

All controls and controls elements should have a specific CSS class
(whose name begins with "gw-") that will allow to customize their 
apparence.


If there is a "style.css" file in the root folder of your project, it
will be automatically used by the gb.web.form component to generate the
web site stylesheet.

That way, you can customize the look of everything as you like.

As for widget themes, I will make one default, and let Gambas users
define the others!


Yes, I understand this. I was just thinking it could be handy with a 
dropdown list with some extra styles besides the default one - kind of 
like with the editor styles.


I found two bugs. See attached picture.
If I put a timer and set Enabled to true and hit run, the page does not 
load.--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-13 Thread Benoît Minisini
Le 13/11/2015 22:19, Moviga Technologies a écrit :
>
>
> This is starting to look really cool Benoît :) Good job!
>
> Some years ago I made a system for a company in PHP that heavily relied
> on forms. It's purpose was to keep track of projects, customers,
> warehouse, carried out and pending repair tasks, employees, and so
> forth. With this I could make it in Gambas in much shorter time :)
>
> Perhaps you could add a set of predefined Web-GUI styles (that are CSS
> files) and ability to make custom styles that are remembered by the IDE.
>
>
> I.e. Google material, bootstrap, amazon, github, and so on...
>

All controls and controls elements should have a specific CSS class 
(whose name begins with "gw-") that will allow to customize their apparence.

If there is a "style.css" file in the root folder of your project, it 
will be automatically used by the gb.web.form component to generate the 
web site stylesheet.

That way, you can customize the look of everything as you like.

As for widget themes, I will make one default, and let Gambas users 
define the others!

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-11 Thread Moviga Technologies
 

This looks interesting. I think if you want to stay on par with HTML5,
you should not use inline CSS though. 

Also, I believe that using flexboxes for layout containers would be a
very good idea :) (take a look here:
https://css-tricks.com/snippets/css/a-guide-to-flexbox/) 

Form controls should also be implemented, but that I believe you have
already planned?! 

Den 10.11.2015 05:19, skrev Benoît Minisini: 

> Hi,
> 
> The gb.web.form is a new component whose goal is easing Web application 
> developement by mainly allowing to use the IDE form editor to define 
> your GUI interface.
> 
> It will use the web browser mainly as a sophisticated terminal. All the 
> application logic will be run on the server. It won't allow you to 
> create an application entirely in javascript that will be run inside the 
> browser (like Google docs for example).
> 
> The GUI is based a hierarchy of classes inheriting WebControl. The web 
> page is defined by a WebForm class. And you have a generic container 
> control, a button control, and a HTML control at the moment.
> 
> Complex javascript run on the browser must be implemented through 
> dedicated web controls. For example, we can imagine a control to put 
> OpenStreetMap inside your web application, a tree view, a grid view...
> 
> How to switch from one web form to another one is not designed yet. At 
> the moment, the url 'http:abcd' is supposed to display 
> the web form whose class name is 'abcd'. There is no way to have 
> different instances of the same web form.
> 
> The application state is stored in the user session. Don't expect to run 
> millions of users at the same time without suffering.
> 
> Do understand that the web application is a CGI script that must build 
> everything from scratch at each request, contrary to a normal 
> application. It has performance impact.
> 
> It is really an embryo at the moment, but you can run the project to 
> display a WebForm1 test form and see how it behaves.
> 
> Just tell me what you think about that, what ideas you have, and so on!
 
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New gb.web.form component

2015-11-11 Thread Benoît Minisini
Le 11/11/2015 16:59, Moviga Technologies a écrit :
>
>
> This looks interesting. I think if you want to stay on par with HTML5,
> you should not use inline CSS though.

I do that because I refresh part of the pages by just sending HTML. If I 
have to separate the style, I would have to send HTML, and a bunch of 
javascript to update the style.

I think I will just add CSS classes so that the user can custom the look 
of the controls with its own style sheet.

In other words, I won't use HTML and CSS the way they are supposed to be 
used. As I said before, I'm using the web browser as a sophisticated 
terminal to put desktop-like applications on the web.

>
> Also, I believe that using flexboxes for layout containers would be a
> very good idea :) (take a look here:
> https://css-tricks.com/snippets/css/a-guide-to-flexbox/)

I already use them.

>
> Form controls should also be implemented, but that I believe you have
> already planned?!

Yes. There is so many things to do!

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user