SPfx on-premises solution is lagging behind to SPO

極嚴重, sharepoint framework個generator仲停留緊係1.1.0俾on-premises, 而sharepoint online已經去到1.5.0, 兩個世界再次被split開而咪記班友無意慾修正。千其唔可以sell啲客一個solution做哂sharepoint online同埋未來嘅sharepoint 2019, 死硬 !!!   https://github.com/SharePoint/sp-dev-docs/issues/1883

IT人嘅朵與Framework guideline

一本由framework作者寫的framework設計手則書,內容由作者的角度講出設計framework的重點,思路同手則,如果要寫一份doc去形容自己出黎嘅framework可以參考下呢本書的鋪排: 第一章 : 什麼是好的framework,作者們由自己嘅經驗去給一個定義今大家知道這一次他的設計會顧及那些方面,包括”設計要簡單”,”整合性強”,”設計一致”,等等。 第二章:principle, 架構設計需知 第三四五六七章:落地嘅架構 IT人嘅朵 呢本書集合哂.net framework嘅猛人,人地講自己嘅介紹時會有以下幾點: 做嘅project用左啲乜野技術,例如有位叫Jan Gray嘅人話自己搞compiler包括左semantics, runtime object model, precompiled headers, PDBs等等技術。而香港IT人係linkedin上面係唔會講到甘深入,通常係甘二講下個project名就算數。 人地會講清楚係咩team到負責咩野,例如係c# language design team負責xml部份嘅parser設計,而香港人剩係會話係咩team帶緊幾多百人,間公司好幾global,係啲乜乜實實IT協會嘅人,睇完根本都唔知佢係邊一種技術嘅專家(其實係無) 人地係會有佢個blog條link,香港人有blog? 人地會話係msdn雜誌到做過編輯,香港人就連msdn都唔會睇,哈哈

Autotool太複雜

Autotool太複雜,個人認為它阻礙了system programming的發展應該給斷除。AutoTool由三大組件所構成:autoconf, automake和libtool。Autoconf是由autoconf, autoreconf, autoheader, autoscan, autoupdate, ifnames, autom4te, m4指令所合成,automake由automake和aclocal指令合成,libtool則由libtool, libtoolize, ltdl等指令所構成。它們之間也沒有一個統一個使用標準,就是說你可以自己去判斷用那些指令去構建你的build system,所以學習難度非常之大也不統一。所以根本學唔掂,你可以隨便git一個開源項目試下改一下它的autoconf就會知道。

Remove the “Logging” menu from putty

Below are the steps to remove the “Logging” menu from putty Download windows source from putty website, don’t clone from the github because it missing Makefile.vc. Search for “Windows source archive” in https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Comment out line 1488 to 1543 in config.c which in the root folder (see below image) cd windows nmake -f Makefile.vc If everything […]

Assembler嘅HLA邊界

寫Assembly用到Marco就試過N次,之前都係用到點就學到邊,無了解過佢嘅邊界,而家差唔多去到要為自己嘅assembler研發marco,所以要先睇下HLA嘅Marco大約可以做到啲乜。沙田圖書館係有唔少好書。 書中講左句: 啲人係用Assembler嘅Marco有幾勁黎判斷個assembler有幾勁,無錯,啲人確實係甘諗。以下就係關於assembler功能上嘅總結: Compile Time Operators. (E.g. : +-*/, <<, >> =, <>) Operator Precedence and Associativity (E.g. : !, -, div, mod) Compile Time Functions Type conversion Numeric functions Character-Classification functions (E.g. : isAlpha, isDigit, isSpace) String functions Symbol information (E.g. : @size, @define @typeName, @elements, @elementSize) Misc compile time functions (E.g. : @odd, […]

Microsoft workflow foundation係幾勁嘅, 不過香港少人知

Microsoft workflow foundation係幾勁嘅, 不過香港少人知。成套野包哂所有你要做一個完workflow engine嘅framework。Nintex係由WF做出黎就足以證明呢套野係work嘅!SharePoint個workflow engine係建基於workflow foundation上,了解WF同SharePoint workflow嘅分別從而推考到佢嘅好處同缺點就係學習SharePoint最堅實嘅方法,係一種深刻反醒佢本質嘅正確手法。

The setting to identify an SPO/Onprem project for spfx

In file .yo-rc.json, the value of “environment” is either “spo” or “onprem”, it identify your project is on-premises or sharepoint online. If you want to create extension, you have to use “spo” { “@microsoft/generator-sharepoint”: { “version”: “1.4.1”, “libraryName”: “quantr-express”, “libraryId”: “1a6a217f-6fb8-44b4-981f-35d0ebe7025b”, “environment”: “onprem” } }

My notes on command set development for SPO

current list id : this.context.pageContext.list.id current list title : this.context.pageContext.list.title for (let row of event.selectedRows) { let itemId: number = row.getValueByName(‘ID’); Dialog.alert(`${itemId}`); } Get current user email : this.context.pageContext.user.email import * as strings from ‘SpfxCloneCommandSetStrings’; this._fieldTypesToIgnore = new Array( strings.typeCounter, strings.typeContentType, strings.typeAttachments, strings.typeModStat, strings.typeComputed ); this._fieldsToIgnore = new Array( strings.fieldModified, strings.fieldCreated, strings.fieldAuthor, strings.fieldEditor, strings.field_HasCopyDestinations, strings.field_CopySource, […]

Finally deployed nodejs+express to azure

Finally deployed nodejs+express to azure, I failed a fews time using the examples https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-nodejs and https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-nodejs-develop-deploy-express-app . The easiest steps for me are: 1. Create the App service manually in Azure portal 2. Create you express 3. Ftp to the app service. 4. Download server.js , copy content from bin/www to it and modify “var […]

Next Page » « Previous Page