WinDev 23 – What’s New

WINDEV

It’s that time of year again when PC Soft release their new versions of developer products with exciting new features. Here’s some of the new stuff that I am especially excited about.

Layout control

A better UI experience now as hidden controls currently just create gaps, but with the layout control all other controls move to fill the space.

End User Image Editor

You can now give the user capabilities to edit their own images, which is great when they wish to annotate an image or making size aadjustments.

PDF Viewer within app

No need to open a seperate PDF reader as now you can view direct within your app. This is great for me as not only can our users view Word documents within the app, they can now do the same for PDF which means no switching between apps.

Excel XLSX loading

We can even go one step further now and load Excel worksheets into the spreadsheet control as well as there being lots more features in the control.

Word Processor Control HTML Text Edit Mode

Now you can use the Wordprocessor control for user email creation without the need for them to switch to Outlook etc. This is a great feature which will enhance our products even further.

Naming Planes

I make great use of planes in windows so that I can quickly switch views for a particular piece of functionality. Previously these planes were named 1 to X but now you can edit the name and make them more descriptive, which helps you and other developers understand the purpose of a particular plane.

Quickly Create Tasks from Requirements

There a cool new interface that will allow you, for a selected requirement, create tasks and include dependencies. I’m using project monitoring more and more lately as a productivty tool to manage requirements and implement the features.

SQL in Code

There a new declaration variable SQL Query you can use in code that will assist you in writing SQL directly in code, with syntax hightlighting, code completion and detecting errors. This is a big one for me as I like to have control over my SQL when there are complex queries. Previously I would use SQL Manager to build and test the query, then copy and paste the SQL code into a WLanguage string variable. I’m not sure if it goes so far as to be able to test the SQL in this release but if not then that would be a great future release feature.

RandomCrypto

This is a very handy little function that will generate a random number where the sequence cannot be reproduced.

Setting a Procedure/Classes as deprecated

In WLanguage they call it Zombie Procedures. These are procedures/Classes that roam the code but will be removed in future versions as there are new procedure that have been introduced to perform a piece of functionality better.

Interface

We can now develop systems with a more modern approach, building an interface that a class can then implement. Makes the code a lot cleaner and is a welcome addition. There’s so much more to WinDev 23 but these are just a few enhancements that really stood out for me.

Exciting News – WinDev 14 Coming to a Screen Near You

Its fun times at PC Soft again with another stack of amazing new features for WinDev, WebDev and WinDev Mobile.

We will have to wait for the English release date for the products, but I am hoping that they will be much quicker than 12.

I will be working through the French Découvrez les 501 NOUVEAUTÉS and let you know the new features that are in this version.

If you have never herd of or tried WinDev then you are missing out on an incredible development environment.

I used to do all my development in Visual Studio.NET and was getting very frustrated with the buggy IDE and the amount of code you have to do in .NET just to perform the simplest of tasks.

With WinDev I have been able to build professional looking websites 70% quicker.

I just love coding in WinDev and WebDev, it’s brought back the fun in coding.

WinDev – Have some fun with Social Networks

tw Social Networks like Twitter are great fun when you are in the mood to create some little apps.

Here’s a simple example code to get some of my friends tweets. All I did was look through the Twitter API and picked out a simple REST method to get some XML back as a test.

Reading XML in WinDev is very simple using a few methods. I recommend you run the URL in a browser and return back some XML data you can then use to play with. That way you are not making lots of calls to the Twitter API (which is limited by design anyway).

sLine <span style="color: #0000ff">is</span> <span style="color: #0000ff">string</span>
iPos <span style="color: #0000ff">is</span> int
sUrl <span style="color: #0000ff">is</span> <span style="color: #0000ff">string</span> = <span style="color: #006080">&quot;http://www.twitter.com/statuses/friends/funcoder.xml&quot;</span>
ListDeleteAll(LIST_Results)
&#160;
<span style="color: #0000ff">IF</span> HTTPRequest(sUrl) <span style="color: #0000ff">THEN</span>
    sResult <span style="color: #0000ff">is</span> <span style="color: #0000ff">string</span> = HTTPGetResult()
    
    XMLDocument(<span style="color: #006080">&quot;XMLDoc&quot;</span>,sResult)
    
    XMLFind(<span style="color: #006080">&quot;XMLDoc&quot;</span>,<span style="color: #006080">&quot;user&quot;</span>,XMLChildItem)
    
    <span style="color: #0000ff">WHILE</span> XMLFound(<span style="color: #006080">&quot;XMLDoc&quot;</span>)
        <span style="color: #0000ff">IF</span> XMLFind(<span style="color: #006080">&quot;XMLDoc&quot;</span>,<span style="color: #006080">&quot;created_at&quot;</span>, XMLElement) <span style="color: #0000ff">THEN</span>
            sLine = XMLData(<span style="color: #006080">&quot;XMLDoc&quot;</span>)
            
            <span style="color: #0000ff">IF</span> XMLFind(<span style="color: #006080">&quot;XMLDoc&quot;</span>,<span style="color: #006080">&quot;text&quot;</span>,XMLElement) <span style="color: #0000ff">THEN</span>
                sLine += <span style="color: #006080">&quot; | &quot;</span> + XMLData(<span style="color: #006080">&quot;XMLDoc&quot;</span>)
                
                <span style="color: #0000ff">IF</span> sLine &lt;&gt; <span style="color: #006080">&quot;&quot;</span> <span style="color: #0000ff">THEN</span>
                    ListAdd(LIST_Results,sLine)
                <span style="color: #0000ff">END</span>
            <span style="color: #0000ff">END</span>
            
&#160;
        <span style="color: #0000ff">END</span>
        
&#160;
        
        XMLFind(<span style="color: #006080">&quot;XMLDoc&quot;</span>,<span style="color: #006080">&quot;user&quot;</span>,XMLContinue)
    <span style="color: #0000ff">END</span>
    XMLCancelSearch(<span style="color: #006080">&quot;XMLDoc&quot;</span>)
    XMLClose(<span style="color: #006080">&quot;XMLDoc&quot;</span>)
END

You can then move on to some further experiments and combine different social networks to create some unique mashups.

Copyright FUNCODER 2018
Shale theme by Siteturner