Translate 3 Node.js templates to PHP
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia dal README di appwrite/templates per identificare tre template privi di implementazioni PHP ma dotati di versioni Node.js. Confronta ogni template Node.js con i template PHP esistenti, quindi crea una cartella PHP per ciascuno e riproducine la logica; il lavoro sarà completo quando tutte e tre le integrazioni funzioneranno in modo coerente con le rispettive controparti Node.js e saranno pronte per la revisione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Introduction
Appwrite allows developers to run serverless functions on Appwrite Cloud. While most of the business logic requires entirely custom code, parts of the application have a generic solution.
To address this problem, Appwrite introduced Function templates, allowing developers to use templates for problems such as Stripe payments, AI prompting, or generating invoices.
Those templates are meant to be extended by the developer to precisely fit the needs of their application. Considering that developers come from different backgrounds and experiences, Appwrite Functions supports templates for over 10 languages.
Starting this issue requires an understanding of Node.js and PHP syntax. Finishing this issue will give you a basic understanding of Chat GPT, the code review process, and writing quality code.
Task summary
Your goal is to prepare 3 Appwrite Function templates in PHP programming language.
1. Pick 3 templates you want to translate
Look at appwrite/templates README, and look for templates that are missing implementation in PHP. Pick 3 templates you want to work on, and make sure they have been implemented in Node.js.
We highly recommend picking an integration template with the tool you are familiar with. If you are up for a challenge, pick the ones you wanted to learn but didn't have time to check out yet.
2. Translate templates from Node.js to PHP
For each template, prepare a folder inside the PHP directory. Initial setup shouldn't be a problem if you are familiar with PHP, but it's also perfectly fine to look at other PHP templates to see what they look like.
Once you have folders ready, look at the template implementation in Node.js, which shows you how the template was implemented in JavaScript. You should read the code and understand it clearly.
Finally, re-implement the same logic in PHP. It's not necessary to follow it line-by-line, but it's best to follow the same logical structure.
In this step, you are allowed to use ChatGPT to help you out, but please don't copy entire chunks of code. Use it as a tool to show you what a solution could look like, but make sure you are the one making a decision about what the final PR looks like.
- Lingua principale
- HTML
- Stelle
- 174
- Fork
- 129
- Merge medio
- 14h 35m
- PR unite (30g)
- 12
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di appwrite/templates
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
🐛 Bug Report: discord-command-bot Python build fails in setup.pyForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug python
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
appwrite/templates#491 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Dependency DashboardAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
I maintainer di solito rispondono entro 1 giorno
-
Enhancement: Add TypeScript definitions (IntelliSense) to Node.js starterForse già presa @Ram3ez l’ha presa 329 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di appwrite/templates
Issue simili
-
Runner API: GET /api/jobs/<id> returns branch: null; the branch only appears under input.branchAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
radiancelux/prgenie#204 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
WalletConnect/walletconnect-monorepo#7392 · 1 commento ·
-
Calendar sync: recurring events land a day late when the local start falls on a different UTC dateAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area: app type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
qutip/qutip#3088 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni