4D – 1984 ж. құрылған, Macintosh үшін 1987 ж. шығарылған реляциялық база данных жүйесі. Өзіндік программалау тілімен дамытылған, Apple қолдауымен жасалған.
Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Кіріспе
Реляциялық деректер қоры және бағдарламалау тілі
Relational database and programming language
4D (4-ші өлшем, немесе Silver Surfer, ерте даму кезіндегі атауы) – Лоран Рибардьер жасаған реляциялық деректер қорын басқару жүйесі және интеграцияланған даму ортасы. 4D 1984 жылы құрылып, 1987 жылы Macintosh үшін өзінің бағдарламалау тілімен бірге жарық көрді. Apple сол кезде Macintosh платформасын қолдайтын танымал бағдарламалық жасақтаманы қамтамасыз етуге тырысты, нәтижесінде жоба Лоран Рибардьерге қайтарылды, ол француз кәсіпкері Марилен Дельбур Дельфиспен бірге 4-ші өлшемді жариялады. Apple компаниясы бұл жаңа жобаны қолдап, 4D-ді ұйымның барлық бөлімдерінде фитнес-орталықтарды басқару және CIM (Компьютерлік интеграцияланған өндіріс) сияқты жобаларда кеңінен пайдаланды. Apple компаниясының көптеген қызметкерлері 4D сарапшылары болды, олардың ішінде Купертинодағы штаб-пәтерінде Лэнс МакЭндрю және Ирландиядағы Еуропалық өндіріс штаб-пәтерінде Эндрю О'Донахью болды, онда 4th Dimension қосымшасы Еуропалық қызмет көрсету орталығының басқаруын жүзеге асырды. Келесі бірнеше жылда 4th Dimension пайдаланушыларының саны артты, ал ACI баспасы Гай Кавасаки басқарған ACIUS деп аталатын АҚШ-тағы еншілес компания құрды. 2000 жылға дейін ACIUS ретінде 16 жыл жұмыс істегеннен кейін, компанияның атауы ресми түрде 4D Inc болып өзгертілді. 1993 жылы 4D Server v1.1, 4th Dimension v3.1 нұсқасымен бірге, 4th Dimension клиент-серверлік нұсқасы ұсынылды. 1995 жылы 4D v3.5 платформааралық болды және содан бері Microsoft Windows және Apple Macintosh операциялық жүйелерін қолдайды. 1997 жылы 4D v6 – 4D-нің толыққанды интеграцияланған веб-сервері бар алғашқы нұсқасы болды, бұл әзірлеушілерге 4D формаларын тек 4D тілін пайдаланып, HTML форматына аударуға мүмкіндік берді. 2004 жылы 4D 2004 – әзірлеушілерге ешқандай кодты өзгертпей дербес, клиент-серверлік, веб және сервистік бағдарланған қосымшаларды (SOA) жасауға мүмкіндік берген 4D-нің алғашқы нұсқасы болды. 2008 жылы 4D v11 4D деректер базасының қозғалтқышына SQL қабатын қосты және 4D бағдарламалау тіліне SQL-ді кеңейтті, бұл 4D әзірлеушілеріне жергілікті немесе қашықтағы серверлерге қосылу үшін SQL кодтарын жазуға мүмкіндік берді. 2010 жылы 4D v12 4D бағдарламалау тілінен PHP функцияларын/скрипттерін орындау мүмкіндігін қосты. Бұл нұсқа жаңа репликация және синхрондау командаларын қолдады, сондай-ақ 4D Server-тің 64 биттік нұсқасын қамтыды.
4D (4th Dimension, or Silver Surfer, as it was known during early development) is a relational database management system and integrated development environment developed by Laurent Ribardière. 4D was created in 1984 and had a slightly delayed public release for Macintosh in 1987 with its own programming language. Apple tried at the time to ensure well known software publishers supported the Macintosh platform, and as a result the project reverted to Laurent Ribardière, who with the French businesswoman Marylene Delbourg Delphis published 4th Dimension. Although independently published, Apple supported the new venture and used 4D extensively throughout the organization for projects including fitness center management and CIM (Computer Integrated Manufacturing). A number of Apple personnel became 4D experts, including Lance McAndrew in Apple's Cupertino headquarters and Andrew O'Donoghue in Apple's Ireland based European manufacturing headquarters, where a 4th Dimension application managed the European Service Center administration. Over the next few years 4th Dimension's installed base grew, and the publisher ACI established a US based subsidiary called ACIUS, initially led by Guy Kawasaki. After 16 years of operating as ACIUS up to 2000, the name was officially changed to 4D Inc. In 1993, 4D Server v1.1, the client/server version of 4th Dimension was introduced along with the release of 4th Dimension v3.1. In 1995, 4D v3.5 went cross platform and has since then supported both the Microsoft Windows and Apple Macintosh operating systems. In 1997, 4D v6 was the first version of 4D to contain a fully integrated web server, allowing developers to translate 4D forms into HTML on the fly using only the 4D language. In 2004, 4D 2004 was the first version of 4D to allow developers to create standalone, client/server, web and Service Oriented Applications (SOA) without changing any code. In 2008, 4D v11 added a SQL layer to the 4D database engine and extending native SQL in to the 4D programming language which allowed 4D developers to write native SQL code to connect to either local or remote servers. In 2010, 4D v12 integrated the ability to execute PHP functions/scripts from within the 4D programming language. This version also supported new replication and synchronization commands and included a 64 bit version of 4D Server.
Өзгермелі ауқымы
Жергілікті айнымалылар $myLocalVariable сияқты $ белгісімен басталады және әдіс орындалған кезде ғана қолданылады. Процесс айнымалылары myProcessVariable сияқты белгісіз болады және процесс орындалған бойында қолданылады. Процестер аралық (немесе Жалпы) айнымалылар <>myGlobalVariable сияқты <> белгісімен басталады және қосымшаның орындалу барысында қолданылады.
Local variables are prefixed with a $ like $myLocalVariable and only live for the duration of the method. Process variables have no prefix like myProcessVariable and live throughout the duration of the process. Inter process (or Global) variables are prefixed with a <> like <>myGlobalVariable and live throughout the duration of the application.