Upgrade to Pro — share decks privately, control downloads, hide ads and more …

New in v20 Part 3

New in v20 Part 3

4D Japan

July 20, 2023
Tweet

More Decks by 4D Japan

Other Decks in Technology

Transcript

  1. 4D v20ͷ৽ػೳ- ΫϥεͷϓϩύςΟͷܕࢦఆ property myProperty : Date • Ϋ ク

    クク クククク クククククククククククククク • ϓ ププププププププププププププププ ‣ ί ココココ コ ココココ コココココココココ コココ
  2. 4D v20ͷ৽ػೳ- ΫϥεͷϓϩύςΟͷܕࢦఆ property myProperty : Date • Ϋϥεͷதʹ͓͍ͯϓϩύςΟͷܕΛܾΊΒΕΔ
 •

    ϓϩύςΟͷܕΛએݴͰ͖ΔϝϦοτ ‣ ίʔυΤσΟλʔ಺ͰͷϓϩύςΟͷܕΛݟΕΔ ‣ ؒҧͬͨ୅ೖ͸ίϯύΠϧ࣌ʹΤϥʔͰݕ஌͞ΕΔ ‣ ஫ҙ఺ˠܕ͸ܾΊΒΕΔ͕஋͸ೖ͍ͬͯͳ͍ʂ
  3. 4D v20ͷ৽ػೳ- Ұҙͷ஋ΛΧ΢ϯτ͢Δ var $collection : Collection $collection:=New collection("Japan"; "France";

    "Germany"; "USA"; "Morocco"; … $count:=$collection.distinct() //"Japan", "France", "Germany", "USA", "Morocco" $answer:="" For each ($name; $count) $occurence:=$collection.countValues($name) $answer:=$answer+$name+":"+String($occurence)+Char(Carriage return) End for each 😩 👍
  4. • Τ エエエエエエエエエエ ‣ Τ エエエエエ Τ エエエエエエエエエエエエエエエエ Τ エエエエエエエエ

    エエエエエエエエエエエエ ‣ ϓ ププププププププププププププププププ 4D v20ͷ৽ػೳ- άϩʔόϧΤϥʔॲཧϝιου
  5. ON ERR CALL("myServerGlobalErrorHandler"; ek global) • Τ エエエエエエエエエエ ‣ Τ

    エエエエエ Τ エエエエエエエエエエエエエエエエ Τ エエエエエエエエ エエエエエエエエエエエエ ‣ ϓ ププププププププププププププププププ • ά ググ グ グググググググググググググググググ ‣ ϔ ヘヘ ヘ ヘヘヘヘ ヘ ヘ ヘヘヘヘヘヘヘヘヘヘヘヘヘ 4D v20ͷ৽ػೳ- άϩʔόϧΤϥʔॲཧϝιου
  6. ON ERR CALL("myServerGlobalErrorHandler"; ek global) • Τϥʔॲཧϝιουͱ͸ ‣ Τϥʔը໘͕ΤϯυϢʔβʔʹදࣔ͞Εͳ͍Α͏ʹ
 ΤϥʔΛΩϟονͯ͠಺෦తʹॲཧ͢Δ࢓૊Έ

    ‣ ϓϩηε୯ҐͰͷΈϝιουͷࢦఆ͕Մೳ • άϩʔόϧʹࢦఆ͢Ε͹ʮͲ͜Ͱ΋ʯΩϟον ‣ ϔουϨεͷαʔόʔͰ΋ΤϥʔΛΩϟονͰ͖Δ ‣ ϩʔΧϧͷΤϥʔॲཧϝιου͕͋Ε͹ͦͪΒ͕༏ઌ - ίϯϙʔωϯτ΋ผѻ͍ 4D v20ͷ৽ػೳ- άϩʔόϧΤϥʔॲཧϝιου
  7. 4D v20ͷ৽ػೳ- CI/CDͱ͸ʁ • 4DΛ࢖ͬͯ͜ͷCI/CDΛߦ͏͜ͱ͕Ͱ͖ΔΑ͏ʹͳͬͨ ‣ ϓϩδΣΫτΛ࢖༻͍ͯ͠Δ͜ͱ͕େલఏ • CI/CDπʔϧ͕ඞཁʹͳͬͯ͘Δ ‣

    ։ൃɺςετͳͲΛࣗಈԽ͢ΔͨΊͷ࢓૊Έ ‣ GitHubʹ͸GitHub Actionsͱ͍͏CI/CDπʔϧ͕͋Δ ‣ 4DͱίϚϯυϥΠϯͱGitHub ActionsΛ૊Έ߹ΘͤΔ
  8. File.setAppInfo() BUILD APPLICATION Compile project ASSERT 4D v20ͷ৽ػೳ- CI/CDͷ࣮ࡍͷྲྀΕ •

    Ϣχοτςετ • ίϯύΠϧ • ϏϧυɾΞΠίϯ • Ξοϓϩʔυ GitHub Actions
  9. File.setAppInfo() BUILD APPLICATION Compile project ASSERT 4D v20ͷ৽ػೳ- CI/CDͷ࣮ࡍͷྲྀΕ •

    Ϣχοτςετ • ίϯύΠϧ • ϏϧυɾΞΠίϯ • Ξοϓϩʔυ GitHub Actions
  10. File.setAppInfo() BUILD APPLICATION Compile project ASSERT 4D v20ͷ৽ػೳ- CI/CDͷ࣮ࡍͷྲྀΕ •

    Ϣχοτςετ • ίϯύΠϧ • ϏϧυɾΞΠίϯ • Ξοϓϩʔυ GitHub Actions tool4d
  11. 4D v20ͷ৽ػೳ- tool4dͱ͸ʁ • ػೳΛݶఆͯ͠࡟͗མͱͨ͠4D ‣ ׬શʹϔουϨεͰΠϯλʔϑΣʔε͸ͳ͠ ‣ ඞͣίϚϯυϥΠϯ͔Β࣮ߦ ‣

    αʔόʔɺίϯϙʔωϯτɺͦͷଞଟ਺ͷػೳ͸φγ ‣ On Startup→ࢦఆ͞Εͨϝιου→On Exit→ऴྃ ‣ ެ։͞ΕͨURL͔Βࣗ༝ʹμ΢ϯϩʔυՄೳ ‣ ىಈʹϥΠηϯε͸ෆཁ 4DίϚϯυͰͷࣗಈԽ͕Մೳ!
  12. 4D v20ͷ৽ػೳ- ஫ҙ͢΂͖఺ • ΫϦʔϯͳόʔνϟϧ؀ڥʹ͸4DϥΠηϯε͕ͳ͍ ‣ ϏϧυͰ͖Δͷ͸ίϯϙʔωϯτ/OEMͰ͸ͳ͍4D ServerΞϓϦ ‣ ଞͷCI/CDπʔϧ΋ಉ༷ʹΫϦʔϯͳόʔνϟϧ؀ڥΛ࢖༻͢Δ

    - ଞͷπʔϧˠGitLabɺTravis CIɺJenkinsɺAzure DevOpsͳͲ • OEMΛϏϧυ͢ΔͨΊʹ͸ଞͷํ๏͕ඞཁ ‣ Create deployment licenseؔ਺Λ࢖༻͢Δඞཁ͋Γ ‣ ࣮ػϚγϯ͔Ϗϧυ༻ͷόʔνϟϧ؀ڥΛ༻ҙ͢Δ͜ͱ͕ඞཁ
  13. 4D v20ͷ৽ػೳ- CI/CDؔ࿈ͷ࿩୊ • ϝιουΤσΟλʔͷ։ൃΛࣙΊΔΘ͚Ͱ͸ͳ͍ ‣ VS Codeͷ৽ػೳ͸͋͘·Ͱtool4dͷ։ൃͷ෭࢈෺ ‣ 4Dͷݴޠ࢓༷Λ͖ͪΜͱݟ௚ͨ݁͠ՌLSP͕࢖͑ΔΑ͏ʹͳͬͨ

    • tool4dʹ͍ͭͯͷิ଍ ‣ https://resources-download.4d.com/{category}/{version}/{build}/{platform}/{packageName}.tar.xz ‣ Ϗϧυ൪߸͸latestͱࢦఆͯ͠΋ྑ͍ ‣ ӳޠ൛ͷΈɺApplication type͸6
  14. Webinar WEEK3 ৼΓฦΓ- ৽ػೳ • σʔλετΞͷϩοΫ ‣ VSSͷ༷ʹϑΝΠϧίϐʔͰͷόοΫΞοϓ͕Մೳʹ • ΫϥεͷϓϩύςΟͷܕࢦఆ͕Մೳʹ

    • Ұҙͷ஋ͷΧ΢ϯτ͕༰қʹ ‣ .distinct()ؔ਺Ͱͷݸ਺ͷΧ΢ϯτ͕Մೳʹ • άϩʔόϧΤϥʔॲཧϝιου/HomeϑΥϧμ
  15. Webinar WEEK3 ৼΓฦΓ- CI/CD(ܧଓతΠϯςάϨʔγϣϯ/ܧଓతσϦόϦʔ) • CI/CDͱ͸࡞ۀͷࣗಈԽ ‣ ίʔυΛίϛοτͨ͠ΒɺϢχοτςετɺίϯύΠϧɺ
 ϏϧυɺΞοϓϩʔυ·ͰࣗಈԽ͢Δ͜ͱ •

    4D + GitHub Actions + tool4dͰ͜Ε͕Մೳʹʂ ‣ tool4d͸μ΢ϯϩʔυࣗ༝ɺϥΠηϯε΋ෆཁ • CI/CDΛऔΓೖΕͨΒ։ൃʹઐ೦Ͱ͖Δ
  16. Webinar WEEK4 ༧ࠂ- ORDAɺWrite ProɺView Proؔ࿈ • ORDAؔ࿈ ‣ ϑΥʔϜҹ࡮

    ‣ ΦϒδΣΫτͱίϨΫγϣϯͷϦςϥϧදه etc… • Write Proؔ࿈ ‣ ςΩετϘοΫε΍ද • View Proؔ࿈