Need some clarification for an existing project

I am a junior developer at a small company and the stack we have is a codeigniter app and an old workflow backend written in perl and both write to mssql db. I have read the documentations and saw some tutorials about temporal.io php sdk so my question is this

  • Can i use php sdk for the client side only to create and cancel workflow without running roadrunner as server ?
  • and for workflow running and activites to use typescript ?

Can i write to db for every step we do in typescript workflow?

Thank you for ur suggestions everyone

Can i use php sdk for the client side only to create and cancel workflow without running roadrunner as server ?

If you are using just the client apis then RR should not be required.

and for workflow running and activites to use typescript ?

Yes that should work check out some polyglot samples here, here and here that could help.

Can i write to db for every step we do in typescript workflow?

Whats the use case? Yes technically you could do it via activities (probably better way to look at interceptors), but with Temporal your workflows become the “source of truth” for your applications. Your workflow histories and visibility data is persisted and you can also use enhanced visibility with Elasticsearch as well.