Summary Parsing text is one of the annoyances of daily life of a developer. I wrote an article about my way of parsing text and asked for feedback. Johannes Leidheiser did just that. If you like to read about his approach, follow the link. english preferred für eine Webapp mit der man Textdateien an einen […]
Beiträge der Kategorie 4D:
experimenting with current UI-concepts
Summary The current designs of UI – Apple’s iOS and macOS, Google’s material-design for Android and even Microsoft’s attempts to modernise Windows – are a welcome evolution for us 4D-developers. UI-elements are getting flat, simple, text based. Those kind of UI-objects are much easier to create ourselves, than those skeuomorphic, nearly photo-like renderings of real […]
parsing JSON
Summary I very much like 4Ds debugger-window to check the contents of a JSON-file. But sometimes I’d like to have a JSON-parser for the runtime-environment. There is none, so I build one myself. Mir gefällt der JSON-Parser im 4D Debugger sehr gut. Habe ich ein JSON, das ich nicht kenne, öffne ich es mit 4D und […]
Objects and 4D-Pointers
Summary Wondering what 4D-pointers inside objects are good for? For me pointers inside objects are temporary value to make things easier for the developer. If I need to store pointing-values, I’d use table-/fieldnumbers and or names depending on later usage. 4D erlaubt Pointer in Objekten. Niemand sonst als 4D kann mit diesen Pointern etwas anfangen. […]
Where to run On Load?
Summary I was wondering, when best to fill the content of a from. Obviously On load-event is the way to go. Alternatively, filling lengthy content in On Timer would first show the form and then fill the content. These days, 4D getting OS-native and 64-Bit, there is a third option CALL FORM. I ran all […]
Worker do work
Summary I’m regularly downloading a couple of files. Not to slowdown my 4DOffice.app I start a process and send this process a list of URLs to be downloaded, and might add to this list further URLs while that process is still running. Lots of code to ensure the communication. These days I tried a WORKER-process […]
Convert value
Summary Every now and then I need to deliver a value. Something like this: $myText:=$myOtherText. Sometimes those datatypes might be different like this: $myText:=$myDate. Not really a problem, make that date a string. Probably test first, if a pointer is not Nil and which kind of datatype the object is besides following my naming convention. […]
Okt.-Werkstatt mit Thomas Maul
4Dmethod veranstaltete Ende August einen Google-Hangout mit Thomas Maul: August 31st Meeting – Messaging with 4D v16 Hier die Aufzeichnung auf YouTube zum – unbedingt – vorweg ansehen und überdenken, was die Neuerung der V16 für die eigene Anwendung bedeuten. Für unsere Herbst-Werkstatt.nord am 19. Oktober, konnte ich Thomas Maul gewinnen, uns unsere Fragen zum Themenkomplex V16 CALL […]
Parse textfiles
Summary Sometimes, importing hundreds of files with millions of lines of text, will take too much time. Maybe the parsing-technique could be enhanced to make that faster. Here is my code, that I do put into a compiled component, to achieve a faster text-parse, even while developing. If this code is faster than yours; I’d […]
MacBook Air 11″ (Mitte 2011) Verkauft!
Summary MacBook Air 11″ in mint-condition for sale. Mid 2011, 1.8 GHz i7, 4GB, 128 GB SSD. Delivered with most current macOS, starting as new, in original packaging. Leider passen die 4D-Einstellungen nicht auf den 11″ Bildschirm. Sie sind zu hoch. Unser MacBook Air 11″ steht zum Verkauf. Ausstattung 1,8 GHz i7 4 GB 1333 MHz […]