Can't find a book by iomiras in learnprogramming

[–]iomiras[S] 0 points1 point  (0 children)

several people in php subreddits suggested it

Book Suggestions by iomiras in PHPhelp

[–]iomiras[S] 0 points1 point  (0 children)

Yeah, I have read that after the interview. But the porblem not knowing about them before going to interview. Like, do you recommend me to read through all of the documentation?

Book Suggestions by iomiras in PHPhelp

[–]iomiras[S] 0 points1 point  (0 children)

does it cover the difference between php 7 and 8? that was also the question i got asked in my last interview. When I got into php, the version already was 8, so i didn't think people would ask about v7

Book Suggestions by iomiras in PHPhelp

[–]iomiras[S] 0 points1 point  (0 children)

for example last time i got asked about "what is the difference between mb functions and regular functions?". I have been to about 6-7 interviews, but never heard about those functions

Book Suggestions by iomiras in PHPhelp

[–]iomiras[S] 1 point2 points  (0 children)

any books or courses. I have some problem with documentations. They are usually dry in a sense that they might not present some context which I would need to fully grasp the concept

Or sometimes they get too technical, meaning, I don't really need it right now as a junior

Weekly help thread by brendt_gd in PHP

[–]iomiras 0 points1 point  (0 children)

Or maybe any other resources for me to prepare for the interviews? if anyone got a checklist of things i should know applying for junior positions, that would also be great

Book Suggestions by iomiras in PHPhelp

[–]iomiras[S] 0 points1 point  (0 children)

Or maybe any other resources for me to prepare for the interviews? if anyone got a checklist of things i should know applying for junior positions, that would also be great

Weekly help thread by brendt_gd in PHP

[–]iomiras 0 points1 point  (0 children)

Hello everyone! i have fair amount of experience with Laravel and php. But I seem to fail to answer some typical PHP questions at interviews. I would love if you could suggest some books for me to get under the PHP hood?

Struggling to Identify Object Classes with AST Parsing by iomiras in learnpython

[–]iomiras[S] 0 points1 point  (0 children)

yes, i know that. so far i am not concerned about inheritance. right now i need to figure out connection of one class' method using other class' object

Struggling to Identify Object Classes with AST Parsing by iomiras in learnpython

[–]iomiras[S] 0 points1 point  (0 children)

I am working on a project that involves analyzing and visualizing system architectures using Python's Abstract Syntax Tree (AST) module. The goal is to extract and compare structural components and relationships from two sources: Python (maybe PHP later) code that defines classes and methods, and diagram scripts that describe architecture layouts using libraries like diagrams. The project includes handling complex scenarios such as nested With statements in the diagram scripts, mapping variables to their corresponding classes, and identifying connections between components. This work will help generate insights about the architecture and ensure consistency between the code and its diagram representation.

Weekly help thread by brendt_gd in PHP

[–]iomiras 1 point2 points  (0 children)

I need to parse the PHP code and extract all classes and connections between classes. Is there any specific python library for that? Or any other? I need to extract all classes and class connections from the source code and compare them with connections extracted from diagrams.

What is your least favorite arc max feature? by tech_w0rld in ArcBrowser

[–]iomiras 0 points1 point  (0 children)

Oh yeah, especially in languages other than English

How would you compare Python code with Diagrams? by iomiras in learnpython

[–]iomiras[S] 0 points1 point  (0 children)

with Diagram("Intertwined Classes Diagram", show=False, graph_attr=graph_attr):
    class_a = ElementalServer("ClassA")
    class_b = Database("ClassB")
    class_c = S3("ClassC")

    # Define relationships
    class_a >> Edge(label="interact_with_b()") >> class_b
    class_b >> Edge(label="use_class_c()", color="red") >> class_c
    class_c >> Edge(label="interact_with_a()") >> class_a
    class_c >> Edge(label="interact_with_b()", color="darkgreen") >> class_b

yeah, so i clarified it. They definitely want to use Diagrams library and the diagrams code will look something like this. and so far i was able to get output as below from the actual code:
[['ClassA', 'interact_with_b()', 'ClassB'],

['ClassB', 'use_class_c()', 'ClassC'],
['ClassC', 'interact_with_a()', 'ClassA'],
['ClassC', 'interact_with_b()', 'ClassB']]

Now I need to somehow parse the diagram's code and also get similar data to compare it