Jump to content

Examples of php scripting projects without laravel?


Go to solution Solved by gizmola,

Recommended Posts

5 hours ago, oslon said:

I am looking to get into shell scripting writing scripts. And I was really out of ideas. So, I am looking into python and php shell scripting project ideas.

Yes, well shell scripting typically is done with features that are built into the bourne shell or bash.  It is quite typical that linux packages come with scripts that utilize these features.  There are also the popular unix utilities of sed and awk, which both provide a modicum of programming features.  Long before Python, Perl was a popular language for scripting and is still highly performant and feature rich.   Entire sites of yesteryear (the original Slashdot being the prime example) were written in perl.  

I do think that learning Python is a worthwhile pursuit, and in terms of its use in the scripting world, it is the foundation for the popular DevOps tool Ansible, that I use frequently to automate any number of DevOps tasks in my professional work.

16 hours ago, oslon said:

I mean I want project ideas.

 

Scripting is typically employed to solve problems that you have.  What is something you do that is repetitive and you'd like to automate?  Is there information you would like to gather, or data to convert or visualize?  These are questions you need to be asking yourself, and project ideas will come to you.

  • Solution
14 hours ago, oslon said:

Really nothing lol. That's why I am here. My job is to check logs of application and find out the errors. It's tough to automate it. I just deliver logs to developers. 

Yes well that is often both a system administration/devops problem and potentially something you outsource (log analysis).  

There are an incredible number of SAAS companies that offer log processing and analysis products. This general area of interest is often referred to as "telemetry", which can cover things like error/exception analysis.   Is your company using any of these products or services?

There are tools/platforms like Grafana, Splunk or New Relic you should investigate, just as a starting point.  

Grafana is a service built upon open source components, so I'd suggest you start by making a free Grafana cloud account and explore the product through their demos, sandboxes and tutorials page.

Often these product provide a platform to develop reporting, dashboards and analysis.    If your company is not doing that, it is a great opportunity for you to lead them to that solution. 

There are also options to self host you can explore as in for example the ELK stack ( Elasticsearch, Logstash, and Kibana).

 

It's coming to my notice that powerful machine is required for practicing this big data stuffs like elasticsearch(ELK stack) on kubernetes. I've i5.7th gen laptop and I am only able to just start the cluster, the other stuffs justdon't run properly.

On 12/11/2024 at 5:46 AM, oslon said:

It's coming to my notice that powerful machine is required for practicing this big data stuffs like elasticsearch(ELK stack) on kubernetes. I've i5.7th gen laptop and I am only able to just start the cluster, the other stuffs justdon't run properly.

Certainly you are pushing the limits on a workstation with a processor that was released 12+ years ago.  With that said, my guess is that you might have limited memory available?

Rather than trying to use Kubernetes, you should try this image:  https://github.com/deviantony/docker-elk

It comes with a docker-compose.yaml file, so you basically just "docker compose up".

They indicate that you need 1.5gb available, which is not an unusually large amount of memory, considering you are running 3 orchestrated containers.  If your workstation is highly constrained on memory, then virtualization of any kind is probably going to be somewhat slow and potentially not very enjoyable.  With that said, I did an awful lot of work in vm's using vmware workstation, virtualbox, vagrants etc, on machines back in the i5/i7 era.  

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.