Translate 3 Node.js templates to PHP
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
Comienza con el README de appwrite/templates para identificar tres templates que no tienen implementaciones en PHP, pero sí versiones en Node.js. Compara cada template de Node.js con los templates de PHP existentes y, después, crea una carpeta PHP para cada uno y reproduce su lógica; se considerará terminado cuando las tres integraciones funcionen de forma consistente con sus homólogas de Node.js y estén listas para revisión.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- HTML
- Estrellas
- 174
- Forks
- 129
- Merge medio
- 14 h 35 min
- PR fusionados (30 d)
- 12
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de appwrite/templates
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
🐛 Bug Report: discord-command-bot Python build fails in setup.pyQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug python
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
appwrite/templates#491 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dependency DashboardAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Los mantenedores suelen responder en 1 día
-
Enhancement: Add TypeScript definitions (IntelliSense) to Node.js starterPosiblemente ocupada @Ram3ez la tomó hace 329 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
Todos los issues de appwrite/templates
Issues similares
-
ToUnicode CMap writes code points above U+FFFF as plain hex (5-6 digits), not UTF-16BEPosiblemente ocupada @Rupali59 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug priority: lowest
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
SkriptLang/Skript#8953 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
aws/aws-sdk-net#4586 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#2829 ·
Los mantenedores suelen responder en 1 día